Kernel Tracing Fix (#439)

* Update lib/rocprofiler-sdk/hsa/queue.cpp

- switch using the kernel_pkt.kernel_dispatch.completion_signal instead of interrupt signal for getting the dispatch time

* Update tests/kernel-tracing/validate.py

- add verification of total runtime collected in test_timestamps
  - the sum of the runtime of all the kernels in reproducible-runtime should be ~1 sec +/- 10%

* Remove include/rocprofiler-sdk/rocprofiler_plugin.h

* Update CI workflow

- update actions/cache@v3 -> v4
- actions/cache/save@v3 -> v4
- thollander/actions-comment-pull-request@v2 -> v2.4.3

* Update pytest.ini

- change default options to one that is more verbose

* Update tests/kernel-tracing/CMakeLists.txt

- skip test_total_runtime when Address or Thread Sanitizer enabled
  - overhead skews the results

* Update tests/kernel-tracing/validate.py

- separate test_total_runtime test
Este commit está contenido en:
Jonathan R. Madsen
2024-01-30 14:52:17 -06:00
cometido por GitHub
padre 3f39339926
commit aaff4976d2
Se han modificado 10 ficheros con 35 adiciones y 152 borrados
+3 -3
Ver fichero
@@ -226,7 +226,7 @@ jobs:
- name: Load Existing XML Code Coverage
if: github.event_name == 'pull_request'
id: load-coverage
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ github.event.pull_request.base.sha }}-codecov
path: .codecov/**
@@ -308,7 +308,7 @@ jobs:
- name: Save XML Code Coverage
id: save-coverage
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
key: ${{ github.sha }}-codecov
path: |
@@ -355,7 +355,7 @@ jobs:
- name: Write Code Coverage Comment
if: github.event_name == 'pull_request'
timeout-minutes: 5
uses: thollander/actions-comment-pull-request@v2
uses: thollander/actions-comment-pull-request@v2.4.3
with:
comment_tag: codecov-report
filePath: .codecov/report.md