diff --git a/projects/hip/CMakeLists.txt b/projects/hip/CMakeLists.txt index 3db80f9e7e..b2b67fbc0e 100644 --- a/projects/hip/CMakeLists.txt +++ b/projects/hip/CMakeLists.txt @@ -158,7 +158,7 @@ if(USE_PROF_API EQUAL 1) find_package(PkgConfig) pkg_check_modules(ROCTRACERPROTO QUIET roctracer-proto) if(ROCTRACERPROTO_FOUND EQUAL 1) - pkg_get_variable(PROF_API_HEADER_PATH roctracer-proto prefix) + pkg_get_variable(PROF_API_HEADER_PATH roctracer-proto includedir) else() set(PROF_API_HEADER_PATH /opt/rocm/roctracer/include/ext) endif() diff --git a/projects/hip/include/hip/hcc_detail/hip_prof_api.h b/projects/hip/include/hip/hcc_detail/hip_prof_api.h index dd3c3efec9..eb3112bdb4 100644 --- a/projects/hip/include/hip/hcc_detail/hip_prof_api.h +++ b/projects/hip/include/hip/hcc_detail/hip_prof_api.h @@ -195,8 +195,8 @@ class api_callbacks_table_t { public: typedef void* act_t; typedef void* fun_t; - bool set_activity(uint32_t id, act_t fun, void* arg) { return true; } - bool set_callback(uint32_t id, fun_t fun, void* arg) { return true; } + bool set_activity(uint32_t id, act_t fun, void* arg) { return false; } + bool set_callback(uint32_t id, fun_t fun, void* arg) { return false; } }; #endif