diff --git a/projects/roctracer/src/core/loader.h b/projects/roctracer/src/core/loader.h index 7d849f6748..17b0d1ae58 100644 --- a/projects/roctracer/src/core/loader.h +++ b/projects/roctracer/src/core/loader.h @@ -151,6 +151,11 @@ __attribute__((weak)) const char* hipKernelNameRefByPtr(const void* hostFunction __attribute__((weak)) int hipGetStreamDeviceId(hipStream_t stream) { return 0; } __attribute__((weak)) const char* hipApiName(uint32_t id) { return NULL; } +__attribute__((weak)) void hipInitActivityCallback(void* id_callback, void* op_callback, + void* arg) {} +__attribute__((weak)) bool hipEnableActivityCallback(unsigned op, bool enable) { return false; } +__attribute__((weak)) const char* hipGetCmdName(unsigned op) { return NULL; } + class HipLoaderStatic { public: typedef std::mutex mutex_t;