Critical trace updates (#24)

* Source code restructuring

* Critical trace updates following restructuring

* thread_sampler, timestamps

- thread_sampler
- CPU frequency managed via thread_sampler
- rocm-smi managed via thread_sampler
- Use consistent timestamps for perfetto
- removed hsa_timer_t in favor of wall_clock::record()
- disable KokkosP by default
- re-enable critical-trace testing

* cmake-format

* Fix for defines.hpp.in

* Remove OMNITRACE_ROCM_SMI_FREQ

- thread_sampler freq is set via OMNITRACE_SAMPLING_FREQ w/ max of 1000

* Increase CI Install Dyninst timeout

* Debug macros + omnitrace_init_tooling + config

- new debug macros
- extern "C" omnitrace_init_tooling
- guard get_rocm_smi_devices

* Miscellaneous tweaks

- tweak to transpose
- critical_trace::Device::ANY
- perfetto "critical-trace" category
- OMNITRACE_VERBOSE usage

* Disable key and tid data for HIP API calls

- non-kernels are ignored in activity callback

* critical-trace exe updates

- fix perfetto generation
- improved logging
- improved readability

* timemory submodule update

- lulesh example cmake tweaks

[ROCm/rocprofiler-systems commit: b016c8929f]
This commit is contained in:
Jonathan R. Madsen
2022-02-19 02:00:59 -06:00
committed by GitHub
parent 4ae26e2d08
commit b99b153030
70 changed files with 2369 additions and 1434 deletions
@@ -216,7 +216,7 @@ jobs:
rm -rf elfutils*
- name: Install Dyninst
timeout-minutes: 20
timeout-minutes: 25
run:
cmake --version &&
git submodule update --init external/dyninst &&
@@ -310,7 +310,7 @@ jobs:
echo "LD_LIBRARY_PATH=/opt/omnitrace/lib:/opt/dyninst/lib:${LD_LIBRARY_PATH}" >> $GITHUB_ENV
- name: Install Dyninst
timeout-minutes: 20
timeout-minutes: 25
run:
cmake --version &&
git submodule update --init external/dyninst &&
@@ -429,7 +429,7 @@ jobs:
rm -rf elfutils*
- name: Install Dyninst
timeout-minutes: 20
timeout-minutes: 25
run:
cmake --version &&
git submodule update --init external/dyninst &&