Skip to content

Comments

[SWDEV-302415]#62

Open
kikimych wants to merge 1 commit intoROCm:rocm-4.3.xfrom
kikimych:rocm-4.3.x
Open

[SWDEV-302415]#62
kikimych wants to merge 1 commit intoROCm:rocm-4.3.xfrom
kikimych:rocm-4.3.x

Conversation

@kikimych
Copy link

Fixed --trace-start on/of not working issue.

roctracer_stop() call in tool_load() function does nothing before
hsa activities registered. That forces tracing to be enabled from
start independently from option value. tool_load is called in
library constructor, activities are registered in library OnLoad()
callback, whih is called later by hsa_runtime.

Duplicated roctracer_stop() call in OnLoad() callback to fix this.

alexey.akimov@amd.com

  Fixed --trace-start on/of not working issue.

  roctracer_stop() call in tool_load() function does nothing before
  hsa activities registered. That forces tracing to be enabled from
  start independently from option value. tool_load is called in
  library constructor, activities are registered in library OnLoad()
  callback, whih is called later by hsa_runtime.

  Duplicated roctracer_stop() call in OnLoad() callback to fix this.

  alexey.akimov@amd.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant