Skip to content

src: abstract tracing agent for both legacy and perfetto#64053

Open
legendecas wants to merge 1 commit into
nodejs:mainfrom
legendecas:perfetto-tracing-agent
Open

src: abstract tracing agent for both legacy and perfetto#64053
legendecas wants to merge 1 commit into
nodejs:mainfrom
legendecas:perfetto-tracing-agent

Conversation

@legendecas

Copy link
Copy Markdown
Member

Make an abstract interface node::tracing::Agent that provides
general control to the tracing. This allows drop-in replacement
of the legacy trace agent when perfetto is enabled.

This also encapsulates the trace writer to be managed by the
trace agent, instead of the node::V8Platform module, so that
the node::V8Platform could be agnostic about the trace
agent implementation.

Refs: nodejs/diagnostics#654

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/inspector

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Jun 22, 2026
@legendecas legendecas force-pushed the perfetto-tracing-agent branch 2 times, most recently from 177f4b9 to f7a36b9 Compare June 22, 2026 03:57
@legendecas legendecas added the trace_events Issues and PRs related to V8, Node.js core, and userspace code trace events. label Jun 22, 2026
@legendecas legendecas force-pushed the perfetto-tracing-agent branch 5 times, most recently from cac4ebe to 49f12cf Compare June 22, 2026 15:15
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
@legendecas legendecas force-pushed the perfetto-tracing-agent branch from 49f12cf to 9d87e1c Compare June 22, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. trace_events Issues and PRs related to V8, Node.js core, and userspace code trace events.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants