Run pre-commit's whitespace related hooks on projects/rocprofiler-systems (#2123)

In order for pre-commit to be useful, everything needs to meet a common
baseline.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Этот коммит содержится в:
Mario Limonciello
2025-12-04 22:39:42 -06:00
коммит произвёл GitHub
родитель 463126770a
Коммит d1aaae2539
36 изменённых файлов: 128 добавлений и 128 удалений
+1 -1
Просмотреть файл
@@ -1,7 +1,7 @@
# rocprofiler-systems Pull Request
## Related Issue
<!-- Please link to the external GitHub issue(s) that this PR addresses.
<!-- Please link to the external GitHub issue(s) that this PR addresses.
If providing a JIRA ticket, please don't include an internal link -->
- [ ] Closes #<issue number>
+1 -1
Просмотреть файл
@@ -183,7 +183,7 @@ do
--build-arg ELFUTILS_DOWNLOAD_VERSION=${ELFUTILS_VERSION} \
--build-arg BOOST_DOWNLOAD_VERSION=${BOOST_VERSION} \
--build-arg GPU_TYPE=${GPU_TYPE} \
--build-arg GPU_TARBALL=${GPU_TARBALL}
--build-arg GPU_TARBALL=${GPU_TARBALL}
done
if [ "${PUSH}" -gt 0 ]; then
+2 -2
Просмотреть файл
@@ -244,8 +244,8 @@ Sampling types:
To enable sampling:
1. Use ``rocprof-sys-sample`` (auto-enables sampling).
2. Set ``ROCPROFSYS_USE_SAMPLING=ON`` and ``ROCPROFSYS_MODE=sampling``.
3. Use ``-S`` or ``--sample`` with ``rocprof-sys-run``.
2. Set ``ROCPROFSYS_USE_SAMPLING=ON`` and ``ROCPROFSYS_MODE=sampling``.
3. Use ``-S`` or ``--sample`` with ``rocprof-sys-run``.
4. Use ``-M sampling`` or ``--mode sampling`` with ``rocprof-sys-instrument``. Use of ``rocprof-sys-sample`` is **recommended** over ``rocprof-sys-instrument -M sampling`` when binary instrumentation is not necessary. For more details, see :doc:`Sampling the call stack <../how-to/sampling-call-stack>`.
Causal mode
+2 -2
Просмотреть файл
@@ -64,9 +64,9 @@ GPU metrics
* JPEG activity
* XGMI interconnect metrics (link width, link speed, read/write data)
* PCIe metrics (link width, link speed, bandwidth)
.. note::
The availability of VCN, JPEG, XGMI, and PCIe metrics depends on device support and system topology. If unsupported, values will be reported as ``N/A`` in the output of ``amd-smi metric --usage``.
CPU metrics
+11 -11
Просмотреть файл
@@ -187,8 +187,8 @@ There are two distinct approaches for collecting PAPI-based hardware counters, e
**Example 1: Using ``papi_array`` for a fixed list of events**
.. code-block:: shell
.. code-block:: shell
# Enable profiling mode (required)
export ROCPROFSYS_PROFILE=ON
@@ -197,30 +197,30 @@ There are two distinct approaches for collecting PAPI-based hardware counters, e
# Specify which PAPI events to collect
export ROCPROFSYS_PAPI_EVENTS="PAPI_TOT_CYC,PAPI_TOT_INS"
**Example 2: Using ``papi_vector`` for dynamically allocated array of events**
.. code-block:: shell
.. code-block:: shell
# Include papi_vector for dynamic event lists
export ROCPROFSYS_TIMEMORY_COMPONENTS="wall_clock,papi_vector"
# Alternative: Use perf event names
export ROCPROFSYS_PAPI_EVENTS="perf::INSTRUCTIONS,perf::CACHE-REFERENCES,perf::CACHE-MISSES"
2. **Sampling-based collection:** Periodically interrupts program execution to capture hardware counters along with call stack information. This works with the sampling mode.
.. code-block:: shell
.. code-block:: shell
# Enable sampling mode (required)
export ROCPROFSYS_USE_SAMPLING=ON
# Specify PAPI events for sampling
export ROCPROFSYS_PAPI_EVENTS="PAPI_TOT_CYC,PAPI_TOT_INS"
You can also enable overflow sampling for PAPI events with ``ROCPROFSYS_SAMPLING_OVERFLOW_EVENT``:
You can also enable overflow sampling for PAPI events with ``ROCPROFSYS_SAMPLING_OVERFLOW_EVENT``:
.. code-block:: shell
@@ -309,8 +309,8 @@ Use the following command to view the available domains:
.. note::
Some settings can enable tracing for multiple domains, such as:
Some settings can enable tracing for multiple domains, such as:
* ``hip_api`` which will enable both ``hip_runtime_api`` and ``hip_compiler_api``.
* ``hsa_api`` which will enable all hsa domains, ``hsa_core_api``, ``hsa_amd_ext_api``, ``hsa_image_exit_api``, and ``hsa_finalize_ext_api``.
* ``marker_api`` or ``roctx`` can be used to enable the roctx marker API tracing.
+1 -1
Просмотреть файл
@@ -56,7 +56,7 @@ environment variable.
.. code-block:: shell
export LD_LIBRARY_PATH=:/opt/venv/lib/python3.10/site-packages/torch/lib:$LD_LIBRARY_PATH
Running ROCm Systems Profiler on a Python script
================================================
+1 -1
Просмотреть файл
@@ -78,7 +78,7 @@ Metadata JSON Sample
.. code-block:: json
:linenos:
{
"rocprofiler-systems": {
"metadata": {
+2 -2
Просмотреть файл
@@ -55,8 +55,8 @@ These metrics help identify GPU-to-GPU communication patterns and bandwidth util
.. note::
XGMI metrics are only available on systems with multiple GPUs connected via XGMI links.
The availability depends on the system topology and GPU architecture. If unsupported or not
XGMI metrics are only available on systems with multiple GPUs connected via XGMI links.
The availability depends on the system topology and GPU architecture. If unsupported or not
available, the values will be reported as N/A in the output.
PCIe metrics
+8 -8
Просмотреть файл
@@ -8,13 +8,13 @@ program main
!
! INTERVALS uses MPI routines to multiprocess a computational task.
!
! We have a function F(X), an interval [XMIN,XMAX],
! We have a function F(X), an interval [XMIN,XMAX],
! and a value N.
!
! We define N equally spaced points in the interval,
!
! X(I) = ( ( N - I ) * XMIN
! + ( I - 1 ) * XMAX )
! X(I) = ( ( N - I ) * XMIN
! + ( I - 1 ) * XMAX )
! / ( N - 1 )
!
! We thus have N-1 subintervals.
@@ -34,7 +34,7 @@ program main
!
! COMMUNICATION:
!
! Processor 0 communicates to processor I the endpoints of
! Processor 0 communicates to processor I the endpoints of
! the interval it is assigned, and the number of sample points
! to use in that interval.
!
@@ -69,7 +69,7 @@ program main
! MIT Press, 1998.
!
use mpi
real ( kind = 8 ) f
real ( kind = 8 ) h
integer ( kind = 4 ) i
@@ -154,7 +154,7 @@ program main
xb(2) = ( real ( process_num - process - 1, kind = 8 ) * x_min &
+ real ( process, kind = 8 ) * x_max ) &
/ real ( process_num - 1, kind = 8 )
target = process
tag = 1
@@ -169,7 +169,7 @@ program main
call MPI_Recv ( xb, 2, MPI_DOUBLE_PRECISION, 0, tag, &
MPI_COMM_WORLD, status, ierr )
end if
!
! Wait here until everyone has gotten their assignment.
@@ -192,7 +192,7 @@ program main
call MPI_Bcast ( m, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr )
!
! Now, every process EXCEPT 0 computes its estimate of the
! Now, every process EXCEPT 0 computes its estimate of the
! integral over its subinterval, and sends the result back
! to process 0.
!
+8 -8
Просмотреть файл
@@ -1,28 +1,28 @@
/*
* See the dyninst/COPYRIGHT file for copyright information.
*
*
* We provide the Paradyn Tools (below described as "Paradyn")
* on an AS IS basis, and do not warrant its validity or performance.
* We reserve the right to update, modify, or discontinue this
* software at any time. We shall have no obligation to supply such
* updates or modifications or any other form of support to you.
*
*
* By your use of Paradyn, you understand and agree that we (or any
* other person or entity with proprietary rights in Paradyn) are
* under no obligation to provide either maintenance services,
* update services, notices of latent defects, or correction of
* defects for Paradyn.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -30,7 +30,7 @@
/*
DYNINSTsigill:
DYNINSTsigill executes an illegal instruction, causing SIGILL to be
sent to the calling process. It is only needed for
detach-on-the-fly, where detached mutatees stop to wait for the
@@ -39,7 +39,7 @@
A detached mutatee that stops itself with SIGSTOP will not be
noticed by the mutator or paradynd. It must send SIGILL to be
noticed.
There are two ways to send SIGILL to yourself: call kill() or
execute an illegal instruction.
@@ -50,7 +50,7 @@
The test suite calls this function through the dynamic loader to
avoid duplication of code in the test suite and additional makefile
complexity.
3000 bytes of source code for 3 bytes of object code.
*/
+1 -1
Просмотреть файл
@@ -9,7 +9,7 @@ dyninstTrapHandler2:
call .Lnext_insn
.Lnext_insn:
addl $.Lret_point-.Lnext_insn,(%esp)
pushl 0x4(%ebp)
pushl 0x4(%ebp)
pushl 0x14(%ebp)
call dyninstSetupContext@PLT
movl $0x0, 0x0
+1 -1
Просмотреть файл
@@ -1,5 +1,5 @@
.file "RTspace.s"
.globl DYNINSTstaticHeap_8K_lowmemHeap_1
.type DYNINSTstaticHeap_8K_lowmemHeap_1, @object
.size DYNINSTstaticHeap_8K_lowmemHeap_1, 8192
+2 -2
Просмотреть файл
@@ -1,10 +1,10 @@
.file "RTspace.s"
.globl DYNINSTstaticHeap_512K_lowmemHeap_1
.type DYNINSTstaticHeap_512K_lowmemHeap_1, @object
.size DYNINSTstaticHeap_512K_lowmemHeap_1, 524288
.globl DYNINSTstaticHeap_16M_anyHeap_1
.globl DYNINSTstaticHeap_16M_anyHeap_1
.type DYNINSTstaticHeap_16M_anyHeap_1, @object
.size DYNINSTstaticHeap_16M_anyHeap_1, 16777216
+6 -6
Просмотреть файл
@@ -1,28 +1,28 @@
/*
* See the dyninst/COPYRIGHT file for copyright information.
*
*
* We provide the Paradyn Tools (below described as "Paradyn")
* on an AS IS basis, and do not warrant its validity or performance.
* We reserve the right to update, modify, or discontinue this
* software at any time. We shall have no obligation to supply such
* updates or modifications or any other form of support to you.
*
*
* By your use of Paradyn, you understand and agree that we (or any
* other person or entity with proprietary rights in Paradyn) are
* under no obligation to provide either maintenance services,
* update services, notices of latent defects, or correction of
* defects for Paradyn.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -41,7 +41,7 @@
*/
#if defined(DYNINST_RT_STATIC_LIB)
.text
.text
.globl ___tls_get_addr
___tls_get_addr:
+7 -7
Просмотреть файл
@@ -1,28 +1,28 @@
/*
* See the dyninst/COPYRIGHT file for copyright information.
*
*
* We provide the Paradyn Tools (below described as "Paradyn")
* on an AS IS basis, and do not warrant its validity or performance.
* We reserve the right to update, modify, or discontinue this
* software at any time. We shall have no obligation to supply such
* updates or modifications or any other form of support to you.
*
*
* By your use of Paradyn, you understand and agree that we (or any
* other person or entity with proprietary rights in Paradyn) are
* under no obligation to provide either maintenance services,
* update services, notices of latent defects, or correction of
* defects for Paradyn.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -42,7 +42,7 @@
#if defined(DYNINST_RT_STATIC_LIB)
.text
.text
.globl ___tls_get_addr
.globl __tls_get_addr
@@ -55,4 +55,4 @@ ___tls_get_addr:
#endif
.section .note.GNU-stack,"",@progbits
@@ -411,4 +411,4 @@
<glyph unicode="&#xf19e;" horiz-adv-x="1792" />
<glyph unicode="&#xf500;" horiz-adv-x="1792" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 197 KiB

После

Ширина:  |  Высота:  |  Размер: 197 KiB

+7 -7
Просмотреть файл
@@ -21,34 +21,34 @@
}
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;
/* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
+3 -3
Просмотреть файл
@@ -2,14 +2,14 @@
font-family: 'fontello';
font-style: normal;
font-weight: normal;
/* fix buttons height */
line-height: 1em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
}
.icon-mail-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe807;&nbsp;'); }
.icon-up-circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe80c;&nbsp;'); }
.icon-down-circle-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe80d;&nbsp;'); }
+8 -8
Просмотреть файл
@@ -18,38 +18,38 @@
}
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;
/* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
.icon-mail-1:before { content: '\e807'; } /* '' */
.icon-up-circle:before { content: '\e80c'; } /* '' */
.icon-down-circle-1:before { content: '\e80d'; } /* '' */
+1 -1
Просмотреть файл
@@ -106,7 +106,7 @@
/*
* Libre Baskerville
================================================================================ */
================================================================================ */
@font-face {
font-family: 'librebaskerville-bold';
src: url('fonts/librebaskerville/librebaskerville-bold-webfont.eot');
@@ -2000,4 +2000,4 @@
<hkern g1="ampersand" g2="quoteright,quotedblright" k="39" />
<hkern g1="ampersand" g2="quotedbl,quotesingle" k="51" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 187 KiB

После

Ширина:  |  Высота:  |  Размер: 187 KiB

@@ -4545,4 +4545,4 @@
<hkern g1="z" g2="Z" k="37" />
<hkern g1="z" g2="N,Ntilde" k="41" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 282 KiB

После

Ширина:  |  Высота:  |  Размер: 282 KiB

@@ -1859,4 +1859,4 @@
<hkern g1="ampersand" g2="quoteright,quotedblright" k="45" />
<hkern g1="ampersand" g2="quotedbl,quotesingle" k="53" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 182 KiB

После

Ширина:  |  Высота:  |  Размер: 182 KiB

@@ -1827,4 +1827,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 116 KiB

После

Ширина:  |  Высота:  |  Размер: 116 KiB

@@ -1827,4 +1827,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 118 KiB

После

Ширина:  |  Высота:  |  Размер: 118 KiB

@@ -1827,4 +1827,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 116 KiB

После

Ширина:  |  Высота:  |  Размер: 116 KiB

@@ -1827,4 +1827,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 118 KiB

После

Ширина:  |  Высота:  |  Размер: 118 KiB

@@ -1827,4 +1827,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 120 KiB

После

Ширина:  |  Высота:  |  Размер: 120 KiB

@@ -1828,4 +1828,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 114 KiB

После

Ширина:  |  Высота:  |  Размер: 114 KiB

@@ -1832,4 +1832,4 @@
<hkern g1="uniFB00" u2="&#x27;" k="-123" />
<hkern g1="uniFB00" u2="&#x22;" k="-123" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 120 KiB

После

Ширина:  |  Высота:  |  Размер: 120 KiB

@@ -1828,4 +1828,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 117 KiB

После

Ширина:  |  Высота:  |  Размер: 117 KiB

@@ -1827,4 +1827,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 116 KiB

После

Ширина:  |  Высота:  |  Размер: 116 KiB

@@ -1827,4 +1827,4 @@
<hkern u1="&#x201e;" u2="G" k="102" />
<hkern u1="&#x201e;" u2="C" k="102" />
</font>
</defs></svg>
</defs></svg>

До

Ширина:  |  Высота:  |  Размер: 120 KiB

После

Ширина:  |  Высота:  |  Размер: 120 KiB

+9 -9
Просмотреть файл
@@ -138,7 +138,7 @@ header .scrolldown a {
}
header .scrolldown a:hover { color: #11ABB0; }
/* nav atempt...
/* nav atempt...
--------------------------------------------------------------------- */
/* primary navigation
--------------------------------------------------------------------- */
@@ -202,9 +202,9 @@ ul#nav li {
#nav .filter a {
display: inline-block;
text-transform: uppercase;
padding: 8px;
padding: 8px;
/* line-height: 32px; */
vertical-align: top;
text-decoration: none;
text-align: left;
@@ -229,7 +229,7 @@ ul#nav li {
vertical-align: middle;
letter-spacing: normal;
/* font-size: 14px; */
text-align: left;
text-align: left;
overflow: hidden;
}
@@ -246,7 +246,7 @@ ul#nav li {
vertical-align: middle;
letter-spacing: normal;
/* font-size: 14px; */
text-align: left;
text-align: left;
overflow: hidden;
}
@@ -262,7 +262,7 @@ ul#nav li {
vertical-align: middle; */
letter-spacing: normal;
/* font-size: 14px; */
text-align: left;
text-align: left;
overflow: visible;
z-index: 10;
}
@@ -302,7 +302,7 @@ div input[type="text"]{
border-style: dashed;
border-radius: 5px;
text-align: center;
}
@@ -327,7 +327,7 @@ div#upload-drag a {
text-align: center;
float: right;
} */
/* div.daq-slider--light {
position: relative;
list-style: none;
@@ -365,7 +365,7 @@ div.nav-right {
ul#nav li a:active { background-color: transparent !important; }
ul#nav li.current a { color: #F06000; }
/* Causal Graphs
/* Causal Graphs
.dash-graph{
width:90%;
margin: auto;
+27 -27
Просмотреть файл
@@ -30,7 +30,7 @@
header .banner { padding-bottom: 12px; }
header .banner-text h1 {
font: 78px/1.1em 'opensans-bold', sans-serif;
letter-spacing: -1px;
letter-spacing: -1px;
}
header .banner-text h3 {
font: 17px/1.9em 'librebaskerville-regular', serif;
@@ -60,7 +60,7 @@
/* Resume Section
------------------------------------------------------------------- */
#resume h1 { font: 16px/24px 'opensans-bold', sans-serif; }
#resume .main-col { padding-right: 5%; }
#resume .main-col { padding-right: 5%; }
/* Testimonials Section
------------------------------------------------------------------- */
@@ -70,7 +70,7 @@
}
#testimonials blockquote p {
font-size: 22px;
line-height: 46px;
line-height: 46px;
}
/* Call to Action Section
@@ -102,7 +102,7 @@
#nav-wrap {
font: 12px 'opensans-bold', sans-serif;
background: transparent !important;
letter-spacing: 1.5px;
letter-spacing: 1.5px;
width: auto;
position: fixed;
top: 0;
@@ -148,8 +148,8 @@
height: auto;
display: none;
clear: both;
width: auto;
float: right;
width: auto;
float: right;
position: relative;
top: 12px;
@@ -167,22 +167,22 @@
ul#nav li {
display: block;
height: auto;
margin: 0 auto;
padding: 0 4%;
height: auto;
margin: 0 auto;
padding: 0 4%;
text-align: left;
border-bottom: 1px solid #2D2E34;
border-bottom-style: dotted;
border-bottom-style: dotted;
}
ul#nav li a {
display: block;
ul#nav li a {
display: block;
margin: 0;
padding: 0;
margin: 12px 0;
padding: 0;
margin: 12px 0;
line-height: 16px; /* reset line-height from 48px */
border: none;
}
}
/* Header Styles
@@ -205,7 +205,7 @@
header .social {
margin: 18px 0 24px 0;
font-size: 24px;
line-height: 36px;
line-height: 36px;
}
header .social li { margin: 0 10px; }
@@ -234,7 +234,7 @@
#resume h1 { letter-spacing: 3px; }
#resume .main-col { padding-right: 30px; }
#resume h3, #resume .info { text-align: center; }
.bars { width: 100%; }
@@ -272,7 +272,7 @@
#testimonials blockquote { padding-bottom: 24px; }
#testimonials blockquote p {
font-size: 20px;
line-height: 42px;
line-height: 42px;
}
/* Control Nav */
@@ -287,11 +287,11 @@
#contact { padding-bottom: 66px; }
#contact .section-head { margin-bottom: 12px; }
#contact .section-head h1 {
font: 16px/24px 'opensans-bold', sans-serif;
text-align: center;
font: 16px/24px 'opensans-bold', sans-serif;
text-align: center;
margin-bottom: 30px;
text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
}
}
#contact h1 span { display: block; }
#contact .header-col { padding-top: 0; }
#contact .header-col h1:before { content: none; }
@@ -305,7 +305,7 @@
#contact input,
#contact textarea,
#contact select {
margin-bottom: 6px;
margin-bottom: 6px;
width: 100%;
}
#contact button.submit { margin: 30px 0 24px 0; }
@@ -317,7 +317,7 @@
/* footer
------------------------------------------------------------------------ */
/* copyright */
footer .copyright li:before { content: none; }
footer .copyright li { margin-right: 12px; }
@@ -351,14 +351,14 @@
-------------------------------------------------------------------- */
header .banner { padding-top: 24px; }
header .banner-text h1 {
font: 40px/1.1em 'opensans-bold', sans-serif;
font: 40px/1.1em 'opensans-bold', sans-serif;
margin: 0 auto 24px auto;
}
header .banner-text h3 {
font: 14px/1.9em 'librebaskerville-regular', sans-serif;
width: 90%;
}
/* header social links */
header .social { font-size: 20px;}
header .social li { margin: 0 6px; }
@@ -368,7 +368,7 @@
/* social links */
footer .social-links { font-size: 20px; }
footer .social-links li { margin-left: 14px; }
footer .social-links li { margin-left: 14px; }
}
+5 -5
Просмотреть файл
@@ -24,11 +24,11 @@ if [ $? -ne 0 ]; then
exit 1
fi
events=()
events=()
for nic in $nic_list; do
events+=("net:::${nic}:tx:byte" "net:::${nic}:rx:byte" "net:::${nic}:tx:packet" "net:::${nic}:rx:packet")
done
for nic in $nic_list; do
events+=("net:::${nic}:tx:byte" "net:::${nic}:rx:byte" "net:::${nic}:tx:packet" "net:::${nic}:rx:packet")
done
event_list="${events[*]}"
event_list="${events[*]}"
echo $event_list