Older Glibc doesn't have gettid (#349)
* Older Glibc doesn't have gettid
* Format fix
* Using internal common get_tid
---------
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
[ROCm/rocprofiler-sdk commit: 8baea19df7]
Bu işleme şunda yer alıyor:
işlemeyi yapan:
GitHub
ebeveyn
2e7d0b3aec
işleme
852bed662c
@@ -2670,7 +2670,7 @@ rocprofv3_set_main(main_func_t main_func)
|
||||
ROCP_INFO << fmt::format("[PPID={}][PID={}][TID={}][rocprofv3] {}" MSG, \
|
||||
getppid(), \
|
||||
getpid(), \
|
||||
gettid(), \
|
||||
rocprofiler::common::get_tid(), \
|
||||
__FUNCTION__, \
|
||||
__VA_ARGS__); \
|
||||
}
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle