Remove SERVICE_ from ROCPROFILER_SERVICE_* enum vals (#168)
- these are unnecessary and are inconsistent with the name convention of everything else related to callback tracing
[ROCm/rocprofiler-sdk commit: 033fd941e0]
This commit is contained in:
committed by
GitHub
parent
e4ebd5a22a
commit
57ed1bcfd3
@@ -263,7 +263,7 @@ hsa_api_impl<Idx>::functor(Args&&... args)
|
||||
corr_id,
|
||||
info_type::callback_domain_idx,
|
||||
info_type::operation_idx,
|
||||
ROCPROFILER_SERVICE_CALLBACK_PHASE_ENTER,
|
||||
ROCPROFILER_CALLBACK_PHASE_ENTER,
|
||||
static_cast<void*>(&tracer_data)};
|
||||
|
||||
auto& callback_info =
|
||||
@@ -305,7 +305,7 @@ hsa_api_impl<Idx>::functor(Args&&... args)
|
||||
auto& record = itr.record;
|
||||
auto& user_data = itr.user_data;
|
||||
|
||||
record.phase = ROCPROFILER_SERVICE_CALLBACK_PHASE_EXIT;
|
||||
record.phase = ROCPROFILER_CALLBACK_PHASE_EXIT;
|
||||
record.payload = static_cast<void*>(&tracer_data);
|
||||
|
||||
auto& callback_info =
|
||||
|
||||
Reference in New Issue
Block a user