Skip to content

perfetto: support big-endian in trace_processor_shell paths - #8256

Merged
sashwinbalaji merged 4 commits into
google:mainfrom
aduh95:trace_processor_shell-x390x
Oct 26, 2026
Merged

sashwinbalaji merged 4 commits into
google:mainfrom
aduh95:trace_processor_shell-x390x

Conversation

@aduh95

@aduh95 aduh95 commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

In nodejs/node#65794, we're trying to test our Perfetto integration on several platforms, one of which is s390x (support was added by #7449) but the cross-compilation fails when it reaches little-endian assertions.

I've tasked an LLM-agent to make a patch, and here's what it came up with. I've validated that I was able to cross-compile for s390x.

@aduh95
aduh95 requested a review from a team as a code owner October 25, 2026 19:51
@LalitMaganti

Copy link
Copy Markdown
Member

Thanks for the patch! Unfortunately a bunch of these are not actually trace processor related but are producer side things (shared memory, buffered ipc serializer etc)

Could you please scope this patch to just TP changes?

@aduh95

aduh95 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

Could you please scope this patch to just TP changes?

Should be good now, PTAL.

@LalitMaganti

Copy link
Copy Markdown
Member

The auto-format check seems to be failing PTAL.

@LalitMaganti
LalitMaganti enabled auto-merge (squash) October 26, 2026 16:57
auto-merge was automatically disabled October 26, 2026 17:33

Head branch was pushed to by a user without write access

@aduh95

aduh95 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

The auto-format check seems to be failing PTAL.

Apologies, it was failing again. It should be good now

@sashwinbalaji
sashwinbalaji enabled auto-merge (squash) October 26, 2026 17:38
@sashwinbalaji
sashwinbalaji merged commit 624afa1 into google:main Oct 26, 2026
24 of 26 checks passed
@aduh95
aduh95 deleted the trace_processor_shell-x390x branch October 26, 2026 21:07
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.

3 participants