PC sampling bringup
Change-Id: I0d041c4c8c3778f2c328cde38432bc72223706a3 pc sampling integration fix Change-Id: Ia66ff876d2d99ec4d561daf8320b65d75f5cd2fe
このコミットが含まれているのは:
+2
-1
@@ -139,6 +139,7 @@ bool is_trace_local = true;
|
||||
// SPM trace enabled
|
||||
bool is_spm_trace = false;
|
||||
|
||||
static inline uint32_t GetPid() { return syscall(__NR_getpid); }
|
||||
static inline uint32_t GetTid() { return syscall(__NR_gettid); }
|
||||
|
||||
// Error handler
|
||||
@@ -909,7 +910,7 @@ extern "C" PUBLIC_API void OnLoadToolProp(rocprofiler_settings_t* settings)
|
||||
}
|
||||
if (rcfile != NULL) {
|
||||
// Getting defaults
|
||||
printf("ROCProfiler: rc-file '%s'\n", rcpath.c_str());
|
||||
printf("ROCProfiler pid(%u): rc-file '%s'\n", GetPid(), rcpath.c_str());
|
||||
auto defaults_list = rcfile->GetNodes("top.defaults");
|
||||
for (auto* entry : defaults_list) {
|
||||
const auto& opts = entry->opts;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする