From d1aaae2539511ca95cd8c1c02c0dce0cef513a57 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Thu, 4 Dec 2025 22:39:42 -0600 Subject: [PATCH] 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) --- .../.github/pull_request_template.md | 2 +- .../docker/build-docker-ci.sh | 2 +- .../docs/conceptual/data-collection-modes.rst | 4 +- .../conceptual/rocprof-sys-feature-set.rst | 4 +- .../how-to/configuring-runtime-options.rst | 22 ++++---- .../docs/how-to/profiling-python-scripts.rst | 2 +- .../understanding-rocprof-sys-output.rst | 2 +- .../docs/how-to/xgmi-pcie-sampling.rst | 4 +- .../examples/mpi/intervals_mpi.f90 | 16 +++--- .../lib/rocprof-sys-rt/src/RTsigill-x86.S | 16 +++--- .../lib/rocprof-sys-rt/src/RTsignal-x86.S | 2 +- .../lib/rocprof-sys-rt/src/RTspace-smallmem.s | 2 +- .../source/lib/rocprof-sys-rt/src/RTspace.S | 4 +- .../lib/rocprof-sys-rt/src/RTtlsgetaddr-x86.S | 12 ++--- .../rocprof-sys-rt/src/RTtlsgetaddr-x86_64.S | 14 ++--- .../fonts/fontawesome-webfont.svg | 2 +- .../assets/fontello/css/fontello-embedded.css | 14 ++--- .../assets/fontello/css/fontello-ie7.css | 6 +-- .../source/assets/fontello/css/fontello.css | 16 +++--- .../source/python/gui/source/assets/fonts.css | 2 +- .../librebaskerville-bold-webfont.svg | 2 +- .../librebaskerville-italic-webfont.svg | 2 +- .../librebaskerville-regular-webfont.svg | 2 +- .../fonts/opensans/OpenSans-Bold-webfont.svg | 2 +- .../opensans/OpenSans-BoldItalic-webfont.svg | 2 +- .../opensans/OpenSans-ExtraBold-webfont.svg | 2 +- .../OpenSans-ExtraBoldItalic-webfont.svg | 2 +- .../opensans/OpenSans-Italic-webfont.svg | 2 +- .../fonts/opensans/OpenSans-Light-webfont.svg | 2 +- .../opensans/OpenSans-LightItalic-webfont.svg | 2 +- .../opensans/OpenSans-Regular-webfont.svg | 2 +- .../opensans/OpenSans-Semibold-webfont.svg | 2 +- .../OpenSans-SemiboldItalic-webfont.svg | 2 +- .../python/gui/source/assets/layout.css | 18 +++---- .../gui/source/assets/media-queries.css | 54 +++++++++---------- .../tests/generate_papi_nic_events.sh | 10 ++-- 36 files changed, 128 insertions(+), 128 deletions(-) diff --git a/projects/rocprofiler-systems/.github/pull_request_template.md b/projects/rocprofiler-systems/.github/pull_request_template.md index 97a81a3e76..441141ed0f 100644 --- a/projects/rocprofiler-systems/.github/pull_request_template.md +++ b/projects/rocprofiler-systems/.github/pull_request_template.md @@ -1,7 +1,7 @@ # rocprofiler-systems Pull Request ## Related Issue - - [ ] Closes # diff --git a/projects/rocprofiler-systems/docker/build-docker-ci.sh b/projects/rocprofiler-systems/docker/build-docker-ci.sh index e71745e41b..a73f60e3ae 100755 --- a/projects/rocprofiler-systems/docker/build-docker-ci.sh +++ b/projects/rocprofiler-systems/docker/build-docker-ci.sh @@ -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 diff --git a/projects/rocprofiler-systems/docs/conceptual/data-collection-modes.rst b/projects/rocprofiler-systems/docs/conceptual/data-collection-modes.rst index abacfc2c9a..5154d494ea 100644 --- a/projects/rocprofiler-systems/docs/conceptual/data-collection-modes.rst +++ b/projects/rocprofiler-systems/docs/conceptual/data-collection-modes.rst @@ -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 diff --git a/projects/rocprofiler-systems/docs/conceptual/rocprof-sys-feature-set.rst b/projects/rocprofiler-systems/docs/conceptual/rocprof-sys-feature-set.rst index 707935f31a..b04a176ca5 100644 --- a/projects/rocprofiler-systems/docs/conceptual/rocprof-sys-feature-set.rst +++ b/projects/rocprofiler-systems/docs/conceptual/rocprof-sys-feature-set.rst @@ -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 diff --git a/projects/rocprofiler-systems/docs/how-to/configuring-runtime-options.rst b/projects/rocprofiler-systems/docs/how-to/configuring-runtime-options.rst index 37f240ded3..fdf6799ab0 100644 --- a/projects/rocprofiler-systems/docs/how-to/configuring-runtime-options.rst +++ b/projects/rocprofiler-systems/docs/how-to/configuring-runtime-options.rst @@ -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. diff --git a/projects/rocprofiler-systems/docs/how-to/profiling-python-scripts.rst b/projects/rocprofiler-systems/docs/how-to/profiling-python-scripts.rst index 84c385647e..48b0ac56c2 100644 --- a/projects/rocprofiler-systems/docs/how-to/profiling-python-scripts.rst +++ b/projects/rocprofiler-systems/docs/how-to/profiling-python-scripts.rst @@ -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 ================================================ diff --git a/projects/rocprofiler-systems/docs/how-to/understanding-rocprof-sys-output.rst b/projects/rocprofiler-systems/docs/how-to/understanding-rocprof-sys-output.rst index 29a2ad08da..1f77e74e6b 100644 --- a/projects/rocprofiler-systems/docs/how-to/understanding-rocprof-sys-output.rst +++ b/projects/rocprofiler-systems/docs/how-to/understanding-rocprof-sys-output.rst @@ -78,7 +78,7 @@ Metadata JSON Sample .. code-block:: json :linenos: - + { "rocprofiler-systems": { "metadata": { diff --git a/projects/rocprofiler-systems/docs/how-to/xgmi-pcie-sampling.rst b/projects/rocprofiler-systems/docs/how-to/xgmi-pcie-sampling.rst index 2c0033488c..1ad619d487 100644 --- a/projects/rocprofiler-systems/docs/how-to/xgmi-pcie-sampling.rst +++ b/projects/rocprofiler-systems/docs/how-to/xgmi-pcie-sampling.rst @@ -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 diff --git a/projects/rocprofiler-systems/examples/mpi/intervals_mpi.f90 b/projects/rocprofiler-systems/examples/mpi/intervals_mpi.f90 index 5c824abf4a..71664f1c7a 100644 --- a/projects/rocprofiler-systems/examples/mpi/intervals_mpi.f90 +++ b/projects/rocprofiler-systems/examples/mpi/intervals_mpi.f90 @@ -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. ! diff --git a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTsigill-x86.S b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTsigill-x86.S index a57b18ac09..9be396c66e 100644 --- a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTsigill-x86.S +++ b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTsigill-x86.S @@ -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. */ diff --git a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTsignal-x86.S b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTsignal-x86.S index d677832866..906a17e923 100644 --- a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTsignal-x86.S +++ b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTsignal-x86.S @@ -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 diff --git a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTspace-smallmem.s b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTspace-smallmem.s index 684eef2d54..38956bda54 100644 --- a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTspace-smallmem.s +++ b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTspace-smallmem.s @@ -1,5 +1,5 @@ .file "RTspace.s" - + .globl DYNINSTstaticHeap_8K_lowmemHeap_1 .type DYNINSTstaticHeap_8K_lowmemHeap_1, @object .size DYNINSTstaticHeap_8K_lowmemHeap_1, 8192 diff --git a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTspace.S b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTspace.S index 39ca522209..90c3690359 100644 --- a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTspace.S +++ b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTspace.S @@ -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 diff --git a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTtlsgetaddr-x86.S b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTtlsgetaddr-x86.S index 836d0de4bf..7754272e4f 100644 --- a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTtlsgetaddr-x86.S +++ b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTtlsgetaddr-x86.S @@ -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: diff --git a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTtlsgetaddr-x86_64.S b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTtlsgetaddr-x86_64.S index fb15168eef..635e3a1b47 100644 --- a/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTtlsgetaddr-x86_64.S +++ b/projects/rocprofiler-systems/source/lib/rocprof-sys-rt/src/RTtlsgetaddr-x86_64.S @@ -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 - + diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/font-awesome/fonts/fontawesome-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/font-awesome/fonts/fontawesome-webfont.svg index 45fdf33830..7690140468 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/font-awesome/fonts/fontawesome-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/font-awesome/fonts/fontawesome-webfont.svg @@ -411,4 +411,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello-embedded.css b/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello-embedded.css index b72812a4f4..6d1464679a 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello-embedded.css +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello-embedded.css @@ -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); */ } diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello-ie7.css b/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello-ie7.css index b59bb24464..9a6092659b 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello-ie7.css +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello-ie7.css @@ -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 = ' '); } .icon-up-circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } .icon-down-circle-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello.css b/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello.css index 9477514c1e..1cfdd0ef15 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello.css +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fontello/css/fontello.css @@ -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'; } /* '' */ diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts.css b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts.css index 874c4f0fda..de1cb4a751 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts.css +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts.css @@ -106,7 +106,7 @@ /* * Libre Baskerville -================================================================================ */ +================================================================================ */ @font-face { font-family: 'librebaskerville-bold'; src: url('fonts/librebaskerville/librebaskerville-bold-webfont.eot'); diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-bold-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-bold-webfont.svg index 760857c6cc..06a9f7c61e 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-bold-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-bold-webfont.svg @@ -2000,4 +2000,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-italic-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-italic-webfont.svg index 2e419caf39..d3b26f6eda 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-italic-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-italic-webfont.svg @@ -4545,4 +4545,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-regular-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-regular-webfont.svg index 9e79ca40b5..71c2933c7a 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-regular-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/librebaskerville/librebaskerville-regular-webfont.svg @@ -1859,4 +1859,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Bold-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Bold-webfont.svg index 3ed7be4bc5..ff4d7ddb6a 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Bold-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Bold-webfont.svg @@ -1827,4 +1827,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-BoldItalic-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-BoldItalic-webfont.svg index 6a2607b9da..5ef8ef9004 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-BoldItalic-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-BoldItalic-webfont.svg @@ -1827,4 +1827,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-ExtraBold-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-ExtraBold-webfont.svg index 27800505a5..359d3f6408 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-ExtraBold-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-ExtraBold-webfont.svg @@ -1827,4 +1827,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.svg index 8f080c1e5e..c52c7e4285 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.svg @@ -1827,4 +1827,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Italic-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Italic-webfont.svg index e1075dcc24..d86c165fb1 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Italic-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Italic-webfont.svg @@ -1827,4 +1827,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Light-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Light-webfont.svg index 11a472ca8a..bac8c03979 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Light-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Light-webfont.svg @@ -1828,4 +1828,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-LightItalic-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-LightItalic-webfont.svg index 431d7e3546..047fc73b40 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-LightItalic-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-LightItalic-webfont.svg @@ -1832,4 +1832,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Regular-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Regular-webfont.svg index 25a3952340..b2ce45def7 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Regular-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Regular-webfont.svg @@ -1828,4 +1828,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Semibold-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Semibold-webfont.svg index eec4db8bd7..2a67300ba6 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Semibold-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-Semibold-webfont.svg @@ -1827,4 +1827,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.svg b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.svg index 7166ec1b90..2dde62ca5b 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.svg +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.svg @@ -1827,4 +1827,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/layout.css b/projects/rocprofiler-systems/source/python/gui/source/assets/layout.css index 0efc66c534..0739fa8bd6 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/layout.css +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/layout.css @@ -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; diff --git a/projects/rocprofiler-systems/source/python/gui/source/assets/media-queries.css b/projects/rocprofiler-systems/source/python/gui/source/assets/media-queries.css index 01a689ebbb..52d028c9ce 100644 --- a/projects/rocprofiler-systems/source/python/gui/source/assets/media-queries.css +++ b/projects/rocprofiler-systems/source/python/gui/source/assets/media-queries.css @@ -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; } } diff --git a/projects/rocprofiler-systems/tests/generate_papi_nic_events.sh b/projects/rocprofiler-systems/tests/generate_papi_nic_events.sh index 15c955745d..99fdb0ef68 100755 --- a/projects/rocprofiler-systems/tests/generate_papi_nic_events.sh +++ b/projects/rocprofiler-systems/tests/generate_papi_nic_events.sh @@ -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