Pthread category region (#102)
* Perfetto args support for pthread functions
* Add pthread category
[ROCm/rocprofiler-systems commit: 0729e1737b]
이 커밋은 다음에 포함됨:
1 부모
eef2e22c5d
커밋
21b45e35f3
6 파일이 변경됨
+210
-53
검색과 일치하는 파일 없음
@@ -26,6 +26,7 @@
|
||||
#include "library/config.hpp"
|
||||
#include "library/cpu_freq.hpp"
|
||||
#include "library/debug.hpp"
|
||||
#include "library/runtime.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
@@ -73,7 +74,8 @@ get_sampler_is_sampling()
|
||||
void
|
||||
sampler::poll(std::atomic<State>* _state, nsec_t _interval, promise_t* _ready)
|
||||
{
|
||||
set_thread_state(ThreadState::Internal);
|
||||
OMNITRACE_SCOPED_THREAD_STATE(ThreadState::Internal);
|
||||
|
||||
threading::set_thread_name("omni.sampler");
|
||||
|
||||
// notify thread started
|
||||
|
||||
새 이슈에서 참조
사용자 차단