File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
projects/rocprofiler-sdk/source/lib/python/rocpd/source Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -460,9 +460,10 @@ write_perfetto(
460460
461461 auto _pmc_events = read_pmc_events (itr.event_id );
462462 auto _event = (ocfg.annotate_kfd ) ? read_event (itr.event_id ) : types::event{};
463- auto _canon = std::string_view{itr.name };
464- auto want_event_handle_annotations =
465- ocfg.annotate_args && is_hip_event_api (_canon) && !is_event_create_api (_canon);
463+ auto _api_name = std::string_view{itr.name };
464+ auto want_event_handle_annotations = ocfg.annotate_args &&
465+ is_hip_event_api (_api_name) &&
466+ !is_event_create_api (_api_name);
466467 auto _args = want_event_handle_annotations ? read_region_args (itr.id )
467468 : std::vector<types::region_arg>{};
468469
You can’t perform that action at this time.
0 commit comments