Remove remaining roctracer references (#82)
Este commit está contenido en:
@@ -468,7 +468,6 @@ Viewing components
|
||||
| written_bytes | Number of bytes sent to the storage layer. |
|
||||
| written_char | Number of bytes which this task has cause... |
|
||||
| rocprof-sys | Invokes instrumentation functions rocprof... |
|
||||
| roctracer | High-precision ROCm API and kernel tracing. |
|
||||
| sampling_wall_clock | Wall-clock timing. Derived from statistic... |
|
||||
| sampling_cpu_clock | CPU-clock timing. Derived from statistica... |
|
||||
| sampling_percent | Fraction of wall-clock time spent in func... |
|
||||
|
||||
@@ -247,10 +247,7 @@ view the help menu.
|
||||
libpthread.so.0
|
||||
libresolv.so.2
|
||||
librocm_smi64.so
|
||||
librocmtools.so
|
||||
librocprofiler64.so
|
||||
libroctracer64.so
|
||||
libroctx64.so
|
||||
librocprofiler-sdk.so
|
||||
librt.so.1
|
||||
libstdc++.so.6
|
||||
libtbb.so
|
||||
@@ -854,7 +851,7 @@ By default, ``rocprof-sys-instrument`` uses ``--mode trace`` for instrumentation
|
||||
only instruments ``main`` in an executable. It activates both CPU call-stack sampling and
|
||||
background system-level thread sampling by default.
|
||||
Tracing capabilities which do not rely on instrumentation, such as the HIP API and kernel tracing
|
||||
(which is collected by roctracer), are still available.
|
||||
are still available.
|
||||
|
||||
The ROCm Systems Profiler sampling capabilities are always available, even in trace mode, but are deactivated by default.
|
||||
To activate sampling in trace mode, set ``ROCPROFSYS_USE_SAMPLING=ON`` in the environment
|
||||
|
||||
@@ -80,7 +80,7 @@ in between samples. Progress points must be triggered in a deterministic manner
|
||||
This can happen in three different ways:
|
||||
|
||||
* `ROCm Systems Profiler <https://github.com/ROCm/rocprofiler-systems>`_ can leverage the callbacks from
|
||||
Kokkos-Tools, OpenMP-Tools, roctracer, etc. and the wrappers around functions for
|
||||
Kokkos-Tools, OpenMP-Tools, rocprofiler-sdk, etc. and the wrappers around functions for
|
||||
MPI, NUMA, RCCL, etc. to act as progress points
|
||||
* Users can leverage the :doc:`runtime instrumentation capabilities <./instrumenting-rewriting-binary-application>`
|
||||
to insert progress points
|
||||
|
||||
@@ -213,9 +213,9 @@ View the help menu of ``rocprof-sys-sample`` with the ``-h`` / ``--help`` option
|
||||
|
||||
[BACKEND OPTIONS] These options control region information captured w/o sampling or instrumentation
|
||||
|
||||
-I, --include [ all | kokkosp | mpip | mutex-locks | ompt | rcclp | rocm-smi | rocprofiler | roctracer | roctx | rw-locks | spin-locks ]
|
||||
-I, --include [ all | kokkosp | mpip | mutex-locks | ompt | rcclp | rocm-smi | rocprofiler-sdk | rw-locks | spin-locks ]
|
||||
Include data from these backends (count: unlimited)
|
||||
-E, --exclude [ all | kokkosp | mpip | mutex-locks | ompt | rcclp | rocm-smi | rocprofiler | roctracer | roctx | rw-locks | spin-locks ]
|
||||
-E, --exclude [ all | kokkosp | mpip | mutex-locks | ompt | rcclp | rocm-smi | rocprofiler-sdk | rw-locks | spin-locks ]
|
||||
Exclude data from these backends (count: unlimited)
|
||||
|
||||
[HARDWARE COUNTER OPTIONS] See also: rocprof-sys-avail -H
|
||||
|
||||
@@ -77,164 +77,207 @@ Metadata JSON Sample
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"rocprof-sys": {
|
||||
"rocprofiler-systems": {
|
||||
"metadata": {
|
||||
"info": {
|
||||
"HW_L1_CACHE_SIZE": 32768,
|
||||
"HW_L2_CACHE_SIZE": 524288,
|
||||
"HW_L3_CACHE_SIZE": 16777216,
|
||||
"HW_PHYSICAL_CPU": 12,
|
||||
"HW_CONCURRENCY": 24,
|
||||
"LAUNCH_TIME": "02:04",
|
||||
"LAUNCH_DATE": "05/08/22",
|
||||
"TIMEMORY_GIT_REVISION": "52e7034fd419ff296506cdef43084f6071dbaba1",
|
||||
"TIMEMORY_VERSION": "3.3.0rc4",
|
||||
"TIMEMORY_API": "tim::project::timemory",
|
||||
"TIMEMORY_GIT_DESCRIBE": "v3.2.0-263-g52e7034f",
|
||||
"PWD": "/home/jrmadsen/devel/c++/AARInternal/hosttrace-dyninst/build-vscode",
|
||||
"USER": "jrmadsen",
|
||||
"HOME": "/home/jrmadsen",
|
||||
"SHELL": "/bin/bash",
|
||||
"CPU_MODEL": "AMD Ryzen Threadripper PRO 3945WX 12-Cores",
|
||||
"CPU_FREQUENCY": 2400,
|
||||
"CPU_VENDOR": "AuthenticAMD",
|
||||
"CPU_FEATURES": [
|
||||
"fpu",
|
||||
"msr",
|
||||
"sse",
|
||||
"sse2",
|
||||
"constant_tsc",
|
||||
"ssse3",
|
||||
"fma",
|
||||
"sse4_1",
|
||||
"sse4_2",
|
||||
"popcnt",
|
||||
"avx2",
|
||||
"... etc. ..."
|
||||
],
|
||||
"memory_maps": [
|
||||
{
|
||||
"end_address": "7f4013797000",
|
||||
"start_address": "7f4012e58000",
|
||||
"pathname": "/opt/rocm-5.0.0/hip/lib/libamdhip64.so.5.0.50000",
|
||||
"offset": "34a000",
|
||||
"device": "103:05",
|
||||
"inode": 4331165,
|
||||
"permissions": "rw-p"
|
||||
},
|
||||
{
|
||||
"end_address": "7f4013902000",
|
||||
"start_address": "7f4013901000",
|
||||
"pathname": "/usr/lib/x86_64-linux-gnu/libm-2.31.so",
|
||||
"offset": "14d000",
|
||||
"device": "103:05",
|
||||
"inode": 42078854,
|
||||
"permissions": "rwxp"
|
||||
},
|
||||
{
|
||||
"end_address": "7f4013919000",
|
||||
"start_address": "7f4013908000",
|
||||
"pathname": "/usr/lib/x86_64-linux-gnu/libpthread-2.31.so",
|
||||
"offset": "6000",
|
||||
"device": "103:05",
|
||||
"inode": 42078874,
|
||||
"permissions": "r-xp"
|
||||
},
|
||||
{
|
||||
"...": "etc."
|
||||
},
|
||||
],
|
||||
"memory_maps_files": [
|
||||
"/opt/rocm-5.0.0/hip/lib/libamdhip64.so.5.0.50000",
|
||||
"/opt/rocm-5.0.0/hsa-amd-aqlprofile/lib/libhsa-amd-aqlprofile64.so.1.0.50000",
|
||||
"/opt/rocm-5.0.0/lib/libamd_comgr.so.2.4.50000",
|
||||
"/opt/rocm-5.0.0/lib/libhsa-runtime64.so.1.5.50000",
|
||||
"/opt/rocm-5.0.0/rocm_smi/lib/librocm_smi64.so.5.0.50000",
|
||||
"/opt/rocm-5.0.0/roctracer/lib/libroctracer64.so.1.0.50000",
|
||||
"/usr/lib/x86_64-linux-gnu/ld-2.31.so",
|
||||
"/usr/lib/x86_64-linux-gnu/libc-2.31.so",
|
||||
"/usr/lib/x86_64-linux-gnu/libdl-2.31.so",
|
||||
"... etc. ..."
|
||||
],
|
||||
},
|
||||
"output": {
|
||||
"text": [
|
||||
{
|
||||
"value": [
|
||||
"rocprof-sys-tests-output/parallel-overhead-binary-rewrite/roctracer.txt"
|
||||
],
|
||||
"key": "roctracer"
|
||||
},
|
||||
{
|
||||
"value": [
|
||||
"rocprof-sys-tests-output/parallel-overhead-binary-rewrite/wall_clock.txt"
|
||||
],
|
||||
"key": "wall_clock"
|
||||
}
|
||||
],
|
||||
"json": [
|
||||
{
|
||||
"value": [
|
||||
"rocprof-sys-tests-output/parallel-overhead-binary-rewrite/roctracer.json",
|
||||
"rocprof-sys-tests-output/parallel-overhead-binary-rewrite/roctracer.tree.json"
|
||||
],
|
||||
"key": "roctracer"
|
||||
},
|
||||
{
|
||||
"value": [
|
||||
"rocprof-sys-tests-output/parallel-overhead-binary-rewrite/wall_clock.json",
|
||||
"rocprof-sys-tests-output/parallel-overhead-binary-rewrite/wall_clock.tree.json"
|
||||
],
|
||||
"key": "wall_clock"
|
||||
}
|
||||
]
|
||||
},
|
||||
"environment": [
|
||||
{
|
||||
"value": "/home/jrmadsen",
|
||||
"key": "HOME"
|
||||
},
|
||||
{
|
||||
"value": "/bin/bash",
|
||||
"key": "SHELL"
|
||||
},
|
||||
{
|
||||
"value": "jrmadsen",
|
||||
"key": "USER"
|
||||
},
|
||||
{
|
||||
"value": "true",
|
||||
"key": "... etc. ..."
|
||||
}
|
||||
"info": {
|
||||
"CPU_MODEL": "AMD Ryzen 5 3600 6-Core Processor",
|
||||
"CPU_VENDOR": "AuthenticAMD",
|
||||
"HOME": "/home/rocm-dev",
|
||||
"LAUNCH_DATE": "01/15/25",
|
||||
"LAUNCH_TIME": "16:49",
|
||||
"PWD": "/home/rocm-dev/code/rocprofiler-systems",
|
||||
"ROCPROFSYS_COMPILER_ID": "GNU",
|
||||
"ROCPROFSYS_COMPILER_VERSION": "11.4.0",
|
||||
"ROCPROFSYS_GIT_DESCRIBE": "",
|
||||
"ROCPROFSYS_GIT_REVISION": "3213dc652728f7ed01b62bf55f6af76c43bfcbdb",
|
||||
"ROCPROFSYS_LIBRARY_ARCH": "x86_64-linux-gnu",
|
||||
"ROCPROFSYS_ROCM_VERSION": "6.3.1",
|
||||
"ROCPROFSYS_SYSTEM_NAME": "Linux",
|
||||
"ROCPROFSYS_SYSTEM_PROCESSOR": "x86_64",
|
||||
"ROCPROFSYS_SYSTEM_VERSION": "6.8.0-51-generic",
|
||||
"ROCPROFSYS_VERSION": "1.0.0",
|
||||
"SHELL": "/usr/bin/zsh",
|
||||
"TIMEMORY_API": "tim::project::timemory",
|
||||
"TIMEMORY_GIT_DESCRIBE": "v3.2.0-703-gba3c6486",
|
||||
"TIMEMORY_GIT_REVISION": "ba3c648677b3c6f217abe147ef3198f36239e234",
|
||||
"TIMEMORY_VERSION": "4.0.0rc0",
|
||||
"USER": "rocm-dev",
|
||||
"CPU_FREQUENCY": 1972,
|
||||
"CPU_FEATURES": [
|
||||
"fpu",
|
||||
"vme",
|
||||
"de",
|
||||
"pse",
|
||||
"tsc",
|
||||
"msr",
|
||||
"pae",
|
||||
"... etc. ..."
|
||||
],
|
||||
"HW_CONCURRENCY": 12,
|
||||
"HW_PHYSICAL_CPU": 6,
|
||||
"HW_L1_CACHE_SIZE": 32768,
|
||||
"HW_L2_CACHE_SIZE": 524288,
|
||||
"HW_L3_CACHE_SIZE": 16777216,
|
||||
"ROCPROFSYS_VERSION_MAJOR": 1,
|
||||
"ROCPROFSYS_VERSION_MINOR": 0,
|
||||
"ROCPROFSYS_VERSION_PATCH": 0,
|
||||
"ROCPROFSYS_ROCM_VERSION_MAJOR": 6,
|
||||
"ROCPROFSYS_ROCM_VERSION_MINOR": 3,
|
||||
"ROCPROFSYS_ROCM_VERSION_PATCH": 1,
|
||||
"memory_maps_files": [
|
||||
"/opt/rocm-6.3.1/lib/libhsa-amd-aqlprofile64.so.1.0.60301",
|
||||
"/opt/rocm-6.3.1/lib/libhsa-runtime64.so.1.14.60301",
|
||||
"/opt/rocm-6.3.1/lib/librocm_smi64.so.7.4.60301",
|
||||
"/opt/rocm-6.3.1/lib/librocprofiler-register.so.0.4.0",
|
||||
"/opt/rocm-6.3.1/lib/librocprofiler-sdk.so.0.5.0",
|
||||
"/opt/rocm/lib/libhsa-amd-aqlprofile64.so.1",
|
||||
"/opt/rocm/lib/libhsa-runtime64.so.1",
|
||||
"/opt/rocm/lib/librocm_smi64.so.7",
|
||||
"/opt/rocm/lib/librocprofiler-register.so.0",
|
||||
"/opt/rocm/lib/librocprofiler-sdk.so.0",
|
||||
"... etc. ..."
|
||||
],
|
||||
"settings": {
|
||||
"ROCPROFSYS_JSON_OUTPUT": {
|
||||
"count": -1,
|
||||
"environ_updated": false,
|
||||
"name": "json_output",
|
||||
"data_type": "bool",
|
||||
"initial": true,
|
||||
"enabled": true,
|
||||
"value": true,
|
||||
"max_count": 1,
|
||||
"cmdline": [
|
||||
"--rocprof-sys-json-output"
|
||||
],
|
||||
"environ": "ROCPROFSYS_JSON_OUTPUT",
|
||||
"config_updated": false,
|
||||
"categories": [
|
||||
"io",
|
||||
"json",
|
||||
"native"
|
||||
],
|
||||
"description": "Write json output files"
|
||||
},
|
||||
"... etc. ...": {
|
||||
"etc.": true
|
||||
}
|
||||
"memory_maps": [
|
||||
{
|
||||
"cereal_class_version": 0,
|
||||
"load_address": "76005b800000",
|
||||
"last_address": "76005b81b000",
|
||||
"permissions": "r---",
|
||||
"offset": "0",
|
||||
"device": "",
|
||||
"inode": 0,
|
||||
"pathname": "/opt/rocm/lib/libhsa-runtime64.so.1"
|
||||
},
|
||||
{
|
||||
"load_address": "76005b81b000",
|
||||
"last_address": "76005b93400d",
|
||||
"permissions": "r-x-",
|
||||
"offset": "1b000",
|
||||
"device": "",
|
||||
"inode": 0,
|
||||
"pathname": "/opt/rocm/lib/libhsa-runtime64.so.1"
|
||||
},
|
||||
{
|
||||
"load_address": "76005b935000",
|
||||
"last_address": "76005b9aeab8",
|
||||
"permissions": "r---",
|
||||
"offset": "135000",
|
||||
"device": "",
|
||||
"inode": 0,
|
||||
"pathname": "/opt/rocm/lib/libhsa-runtime64.so.1"
|
||||
},
|
||||
{
|
||||
"load_address": "76005b9b0638",
|
||||
"last_address": "76005bb2d598",
|
||||
"permissions": "rw--",
|
||||
"offset": "1af638",
|
||||
"device": "",
|
||||
"inode": 0,
|
||||
"pathname": "/opt/rocm/lib/libhsa-runtime64.so.1"
|
||||
},
|
||||
{
|
||||
"load_address": "76005bc00000",
|
||||
"last_address": "76005bc26140",
|
||||
"permissions": "r---",
|
||||
"offset": "0",
|
||||
"device": "",
|
||||
"inode": 0,
|
||||
"pathname": "/opt/rocm/lib/librocprofiler-sdk.so.0"
|
||||
},
|
||||
{
|
||||
"... etc. ..."
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"cereal_class_version": 2,
|
||||
"ROCPROFSYS_OUTPUT_PREFIX": {
|
||||
"name": "output_prefix",
|
||||
"environ": "ROCPROFSYS_OUTPUT_PREFIX",
|
||||
"description": "Explicitly specify a prefix for all output files",
|
||||
"count": 1,
|
||||
"max_count": -1,
|
||||
"cmdline": [
|
||||
"--rocprofiler-systems-output-prefix"
|
||||
],
|
||||
"categories": [
|
||||
"filename",
|
||||
"io",
|
||||
"librocprof-sys",
|
||||
"native",
|
||||
"rocprofsys"
|
||||
],
|
||||
"data_type": "string",
|
||||
"initial": "parallel-overhead-binary-rewrite/",
|
||||
"value": "parallel-overhead-binary-rewrite/",
|
||||
"updated": "config",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
... etc. ...
|
||||
},
|
||||
"command_line": [
|
||||
"/home/rocm-dev/code/rocprofiler-systems/build/ubuntu/22.04/parallel-overhead.inst",
|
||||
"--",
|
||||
"10",
|
||||
"12",
|
||||
"1000"
|
||||
],
|
||||
"environment": [
|
||||
... etc . ...
|
||||
]
|
||||
},
|
||||
"environment": [
|
||||
{
|
||||
"key": "GOTCHA_DEBUG",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"key": "HIP_VISIBLE_DEVICES",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "HOME",
|
||||
"value": "/home/rocm-dev"
|
||||
},
|
||||
{
|
||||
"key": "LD_LIBRARY_PATH",
|
||||
"value": "/home/rocm-dev/code/rocprofiler-systems/build/ubuntu/22.04/lib:/opt/rocm/lib"
|
||||
},
|
||||
{
|
||||
"key": "LIBRARY_PATH",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
etc ...
|
||||
}
|
||||
]
|
||||
"output": {
|
||||
"json": [
|
||||
{
|
||||
"key": "wall_clock",
|
||||
"value": [
|
||||
"/home/rocm-dev/code/rocprofiler-systems/build/ubuntu/22.04/rocprof-sys-tests-output/parallel-overhead-binary-rewrite/wall_clock.json"
|
||||
]
|
||||
}
|
||||
],
|
||||
"protobuf": [
|
||||
{
|
||||
"key": "perfetto",
|
||||
"value": [
|
||||
"/home/rocm-dev/code/rocprofiler-systems/build/ubuntu/22.04/rocprof-sys-tests-output/parallel-overhead-binary-rewrite/perfetto-trace.proto"
|
||||
]
|
||||
}
|
||||
],
|
||||
"text": [
|
||||
{
|
||||
"key": "wall_clock",
|
||||
"value": [
|
||||
"/home/rocm-dev/code/rocprofiler-systems/build/ubuntu/22.04/rocprof-sys-tests-output/parallel-overhead-binary-rewrite/wall_clock.txt"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Configuring the ROCm Systems Profiler output
|
||||
|
||||
@@ -192,75 +192,52 @@ First, instrument and run the program.
|
||||
...
|
||||
$ rocprof-sys-run --profile --trace -- ./user-api.inst 10 12 1000
|
||||
|
||||
ROCPROFSYS: HSA_TOOLS_LIB=/opt/rocm-6.3.1/lib/librocprof-sys-dl.so.0.1.0
|
||||
ROCPROFSYS: HSA_TOOLS_REPORT_LOAD_FAILURE=1
|
||||
ROCPROFSYS: LD_PRELOAD=/opt/rocm-6.3.1/lib/librocprof-sys-dl.so.0.1.0
|
||||
ROCPROFSYS: OMP_TOOL_LIBRARIES=/opt/rocm-6.3.1/lib/librocprof-sys-dl.so.0.1.0
|
||||
ROCPROFSYS: LD_PRELOAD=/home/rocm-dev/code/rocprofiler-systems/build/ubuntu/22.04/lib/librocprof-sys-dl.so.1.0.0
|
||||
ROCPROFSYS: OMP_TOOL_LIBRARIES=/home/rocm-dev/code/rocprofiler-systems/build/ubuntu/22.04/lib/librocprof-sys-dl.so.1.0.0
|
||||
ROCPROFSYS: ROCPROFSYS_PROFILE=true
|
||||
ROCPROFSYS: ROCPROFSYS_TRACE=true
|
||||
ROCPROFSYS: ROCPROFSYS_VERBOSE=0
|
||||
ROCPROFSYS: ROCP_HSA_INTERCEPT=1
|
||||
ROCPROFSYS: ROCP_TOOL_LIB=/opt/rocm-6.3.1/lib/librocprof-sys.so.0.1.0
|
||||
[rocprof-sys][dl][297646] rocprofsys_main
|
||||
[rocprof-sys][297646][rocprofsys_init_tooling] Instrumentation mode: Trace
|
||||
[rocprof-sys][dl][1827155] rocprofsys_main
|
||||
[rocprof-sys][1827155][rocprofsys_init_tooling] Instrumentation mode: Trace
|
||||
|
||||
|
||||
____ ___ ____ __ __ ______ ______ _____ _____ __ __ ____ ____ ____ ___ _____ ___ _ _____ ____
|
||||
____ ___ ____ __ __ ______ ______ _____ _____ __ __ ____ ____ ____ ___ _____ ___ _ _____ ____
|
||||
| _ \ / _ \ / ___| \/ | / ___\ \ / / ___|_ _| ____| \/ / ___| | _ \| _ \ / _ \| ___|_ _| | | ____| _ \
|
||||
| |_) | | | | | | |\/| | \___ \\ V /\___ \ | | | _| | |\/| \___ \ | |_) | |_) | | | | |_ | || | | _| | |_) |
|
||||
| _ <| |_| | |___| | | | ___) || | ___) || | | |___| | | |___) | | __/| _ <| |_| | _| | || |___| |___| _ <
|
||||
|_| \_\\___/ \____|_| |_| |____/ |_| |____/ |_| |_____|_| |_|____/ |_| |_| \_\\___/|_| |___|_____|_____|_| \_\
|
||||
|
||||
rocprof-sys v0.1.0 (rev: b569c837e455f71dd76d06392d0b901ae927deca, x86_64-linux-gnu, compiler: GNU v11.4.0, rocm: v6.3.x)
|
||||
[105.947] perfetto.cc:47606 Configured tracing session 1, #sources:1, duration:0 ms, #buffers:1, total buffer size:1024000 KB, total sessions:1, uid:0 session name: ""
|
||||
Pushing custom region :: ./user-api.inst
|
||||
Pushing custom region :: initialization
|
||||
rocprof-sys v1.0.0 (rev: 3213dc652728f7ed01b62bf55f6af76c43bfcbdb, x86_64-linux-gnu, compiler: GNU v11.4.0, rocm: v6.3.x)
|
||||
[790.763] perfetto.cc:47606 Configured tracing session 1, #sources:1, duration:0 ms, #buffers:1, total buffer size:1024000 KB, total sessions:1, uid:0 session name: ""
|
||||
[./user-api.inst] Threads: 12
|
||||
[./user-api.inst] Iterations: 1000
|
||||
[./user-api.inst] fibonacci(10)...
|
||||
Pushing custom region :: thread_creation
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: run(10) x 1000
|
||||
Pushing custom region :: thread_wait
|
||||
Pushing custom region :: run(10) x 1000
|
||||
[./user-api.inst] fibonacci(10) x 12 = 715000
|
||||
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] finalizing...
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646 : 0.978014 sec wall_clock, 26.752 MB peak_rss, 27.394 MB page_rss, 1.520000 sec cpu_clock, 155.4 % cpu_util [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/0 : 0.976068 sec wall_clock, 0.789948 sec thread_cpu_clock, 80.9 % thread_cpu_util, 26.112 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/1 : 0.027517 sec wall_clock, 0.027510 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.768 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/2 : 0.027828 sec wall_clock, 0.027811 sec thread_cpu_clock, 99.9 % thread_cpu_util, 3.584 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/3 : 0.027585 sec wall_clock, 0.027585 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.584 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/4 : 0.033449 sec wall_clock, 0.033443 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.584 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/5 : 0.027727 sec wall_clock, 0.027726 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.328 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/6 : 0.032228 sec wall_clock, 0.032220 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.712 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/7 : 0.030201 sec wall_clock, 0.030202 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.768 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/8 : 0.027960 sec wall_clock, 0.027951 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.640 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/9 : 0.034698 sec wall_clock, 0.034699 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.640 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/10 : 0.033414 sec wall_clock, 0.033399 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.512 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/11 : 0.028161 sec wall_clock, 0.028149 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.384 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] rocprofsys/process/297646/thread/12 : 0.027791 sec wall_clock, 0.027767 sec thread_cpu_clock, 99.9 % thread_cpu_util, 0.256 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize]
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] Finalizing perfetto...
|
||||
[rocprofiler-systems][297646][perfetto]> Outputting '/home/gliff/opt/user-api-test/rocprofsys-user-api.inst-output/2025-01-02_19.29/perfetto-trace-297646.proto' (16728.58 KB / 16.73 MB / 0.02 GB)... Done
|
||||
[rocprofiler-systems][297646][wall_clock]> Outputting 'rocprofsys-user-api.inst-output/2025-01-02_19.29/wall_clock-297646.json'
|
||||
[rocprofiler-systems][297646][wall_clock]> Outputting 'rocprofsys-user-api.inst-output/2025-01-02_19.29/wall_clock-297646.txt'
|
||||
[rocprofiler-systems][297646][roctracer]> Outputting 'rocprofsys-user-api.inst-output/2025-01-02_19.29/roctracer-297646.json'
|
||||
[rocprofiler-systems][297646][roctracer]> Outputting 'rocprofsys-user-api.inst-output/2025-01-02_19.29/roctracer-297646.txt'
|
||||
[rocprofiler-systems][297646][metadata]> Outputting 'rocprofsys-user-api.inst-output/2025-01-02_19.29/metadata-297646.json' and 'rocprofsys-user-api.inst-output/2025-01-02_19.29/functions-297646.json'
|
||||
[rocprof-sys][297646][0][rocprofsys_finalize] Finalized: 0.314368 sec wall_clock, 19.040 MB peak_rss, 3.498 MB page_rss, 0.280000 sec cpu_clock, 89.1 % cpu_util
|
||||
[107.243] perfetto.cc:49204 Tracing session 1 ended, total sessions:0
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] finalizing...
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155 : 0.137404 sec wall_clock, 6.528 MB peak_rss, 6.685 MB page_rss, 0.540000 sec cpu_clock, 393.0 % cpu_util [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/0 : 0.135815 sec wall_clock, 0.035171 sec thread_cpu_clock, 25.9 % thread_cpu_util, 6.016 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/1 : 0.028336 sec wall_clock, 0.028336 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.640 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/2 : 0.030380 sec wall_clock, 0.030380 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.840 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/3 : 0.035233 sec wall_clock, 0.035227 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.840 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/4 : 0.035275 sec wall_clock, 0.035267 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.840 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/5 : 0.035452 sec wall_clock, 0.035452 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.840 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/6 : 0.036198 sec wall_clock, 0.036190 sec thread_cpu_clock, 100.0 % thread_cpu_util, 3.840 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/7 : 0.034709 sec wall_clock, 0.034702 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.640 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/8 : 0.036590 sec wall_clock, 0.033590 sec thread_cpu_clock, 91.8 % thread_cpu_util, 0.512 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/9 : 0.033108 sec wall_clock, 0.033098 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.384 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/10 : 0.032993 sec wall_clock, 0.032994 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.256 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/11 : 0.035687 sec wall_clock, 0.035368 sec thread_cpu_clock, 99.1 % thread_cpu_util, 0.128 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] rocprofsys/process/1827155/thread/12 : 0.035359 sec wall_clock, 0.035354 sec thread_cpu_clock, 100.0 % thread_cpu_util, 0.128 MB peak_rss [laps: 1]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize]
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] Finalizing perfetto...
|
||||
[rocprofiler-systems][1827155][perfetto]> Outputting '/home/rocm-dev/opt/user-api-test/rocprofsys-user-api.inst-output/2025-01-15_17.57/perfetto-trace-1827155.proto' (17.20 KB / 0.02 MB / 0.00 GB)... Done
|
||||
[rocprofiler-systems][1827155][wall_clock]> Outputting 'rocprofsys-user-api.inst-output/2025-01-15_17.57/wall_clock-1827155.json'
|
||||
[rocprofiler-systems][1827155][wall_clock]> Outputting 'rocprofsys-user-api.inst-output/2025-01-15_17.57/wall_clock-1827155.txt'
|
||||
[rocprofiler-systems][1827155][metadata]> Outputting 'rocprofsys-user-api.inst-output/2025-01-15_17.57/metadata-1827155.json' and 'rocprofsys-user-api.inst-output/2025-01-15_17.57/functions-1827155.json'
|
||||
[rocprof-sys][1827155][0][rocprofsys_finalize] Finalized: 0.048039 sec wall_clock, 0.640 MB peak_rss, 0.655 MB page_rss, 0.020000 sec cpu_clock, 41.6 % cpu_util
|
||||
[790.953] perfetto.cc:49204 Tracing session 1 ended, total sessions:0
|
||||
|
||||
Then review the output.
|
||||
|
||||
|
||||
@@ -301,7 +301,7 @@ Collected data is generally handled in one of the three following ways:
|
||||
In general, only instrumentation for relatively simple data is directly passed to
|
||||
Perfetto and/or Timemory during runtime.
|
||||
For example, the callbacks from binary instrumentation, user API instrumentation,
|
||||
and roctracer directly invoke
|
||||
and rocprofiler-sdk directly invoke
|
||||
calls to Perfetto or Timemory's storage model. Otherwise, the data is stored
|
||||
by ROCm Systems Profiler in the thread-data model
|
||||
which is more persistent than simply using ``thread_local`` static data, which gets deleted
|
||||
|
||||
Referencia en una nueva incidencia
Block a user