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

generate proper json files for chrome tracing #368

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

bashbaug
Copy link
Contributor

Fixes #367

Description of Changes

Adds a closing metadata record and properly terminates the json file, as long as the intercept layer is properly unloaded.

Also:

  • Fixes the script to combine chrome tracing files for multiple applications.
  • Minor additional chrome tracing improvements.

Testing Done

Tested chrome tracing both with the older legacy trace file viewer and the newer Perfetto viewer. Verified that two trace files can be properly combined and viewed in both viewers.

@JOOpdenhoevel
Copy link

Also works for me!

@bashbaug
Copy link
Contributor Author

Great, thanks for confirming!

@bashbaug bashbaug merged commit 29d98c3 into intel:main Jun 26, 2024
7 checks passed
@bashbaug bashbaug deleted the proper-json-format branch June 26, 2024 14:21
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.

Chrome trace logging produces invalid JSON
2 participants