Skip to content

Update ijson trace metadata parsing to include fields after "traceEvents"#226

Open
jj10306 wants to merge 1 commit intofacebookresearch:mainfrom
jj10306:export-D70114793
Open

Update ijson trace metadata parsing to include fields after "traceEvents"#226
jj10306 wants to merge 1 commit intofacebookresearch:mainfrom
jj10306:export-D70114793

Conversation

@jj10306
Copy link
Copy Markdown

@jj10306 jj10306 commented Feb 24, 2025

Summary:
The ijson-based metadata parsing had an early exit when the "traceEvents" key was encountered. This led to metadata fields after "traceEvents" to be excluded from the trace's metadata object.

Also remove unnecessary print in trace_event_timestamp_to_unixtime_ns

Differential Revision: D70114793

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 24, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D70114793

…nts" (facebookresearch#226)

Summary:

The ijson-based metadata parsing had an early exit when the "traceEvents" key was encountered. This led to metadata fields after "traceEvents" to be excluded from the trace's metadata object.

Also remove unnecessary print in `trace_event_timestamp_to_unixtime_ns`

Differential Revision: D70114793
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D70114793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants