Trace thread config + paranoid level + preload (#176)
- OMNITRACE_TRACE_THREAD_BARRIERS config option
- set to OFF to disable wrapping `pthread_barrier`
- OMNITRACE_TRACE_THREAD_JOIN config option
- set to OFF to disable wrapping `pthread_join`
- allow PAPI with perf_event_paranoid at level 2
- default to no PAPI events
- setenv LD_PRELOAD to not include libomnitrace after preload
- closes #175
- bump version to 1.7.1
[ROCm/rocprofiler-systems commit: a3439d5bf2]
이 커밋은 다음에 포함됨:
1 부모
45e5450bf2
커밋
0ec0d18ac8
7 파일이 변경됨
+94
-21
검색과 일치하는 파일 없음
@@ -96,13 +96,17 @@ variable to be enabled (i.e., `OMNITRACE_USE_ROCPROFILER=ON`).
|
||||
Example configuration for hardware counters:
|
||||
|
||||
```console
|
||||
# using papi identifiers
|
||||
OMNITRACE_PAPI_EVENTS = PAPI_TOT_CYC PAPI_TOT_INS
|
||||
|
||||
# using perf identifiers
|
||||
OMNITRACE_PAPI_EVENTS = perf::INSTRUCTIONS perf::CACHE-REFERENCES perf::CACHE-MISSES
|
||||
```
|
||||
|
||||
#### OMNITRACE_PAPI_EVENTS
|
||||
|
||||
In order to collect the majority of hardware counters via PAPI, you need to make sure the `/proc/sys/kernel/perf_event_paranoid`
|
||||
has a value of less than 2. If you have sudo access, you can use the following command to modify the value:
|
||||
has a value <= 2. If you have sudo access, you can use the following command to modify the value:
|
||||
|
||||
```shell
|
||||
echo 0 | sudo tee /proc/sys/kernel/perf_event_paranoid
|
||||
|
||||
새 이슈에서 참조
사용자 차단