Add new tarmac-chromejson tool for Chromium's Trace Event Format - #37
Open
paultimkecontreras wants to merge 2 commits into
Open
Add new tarmac-chromejson tool for Chromium's Trace Event Format#37paultimkecontreras wants to merge 2 commits into
paultimkecontreras wants to merge 2 commits into
Conversation
Add a tarmac-chromejson target that emits a Chrome trace event JSON file from the reconstructed call tree. Also added tests using the existing quicksort tarmac trace and image files. For reference, see: https://chromium.googlesource.com/catapult/+/HEAD/docs/trace-event-format.md Signed-off-by: Paul Timke Contreras <paul.timkecontreras@arm.com> Change-Id: I5dbe4f7aad7b2749c12a287e4e31b751a3e4cd09
Allow tarmac-chromejson to accept more than one Tarmac trace file and emit a single Chrome trace JSON containing one thread lane per input trace. This lets users see multicore traces on a single Chrome json with each core on a separate lane. Signed-off-by: Paul Timke Contreras <paul.timkecontreras@arm.com> Change-Id: I4d66422c00449ddaed45c53da82e10e7e7f8ffab
paultimkecontreras
force-pushed
the
feature/tarmac-chrome
branch
from
August 26, 2026 08:38
7985ef2 to
0dad6bd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new tool to translate tarmac files to Chromium's Trace Event Format (see https://chromium.googlesource.com/catapult/+/HEAD/docs/trace-event-format.md).
The first commit adds the tool itself, plus documentation, but only works on single trace files. The second commit extends the tool to add support for multiple trace files.
This is an example trace of the quicksort example visualized via Perfetto's viewer (https://ui.perfetto.dev/)
