Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SWDEV-302415] #62

Open
wants to merge 1 commit into
base: rocm-4.3.x
Choose a base branch
from
Open

[SWDEV-302415] #62

wants to merge 1 commit into from

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.

[email protected]

  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.

  [email protected]
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