mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net> PR-URL: https://github.com/nodejs/node/pull/66731 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
trace_events Tests
When the node binary is built with configure flag --with-perfetto,
the tests in this folder depends on tools/perfetto/trace_processor_shell,
which is downloaded with tools/perfetto/get_trace_processor.py via
make tools/perfetto/trace_processor_shell, to convert Perfetto binary trace
files to JSON format. On Windows, vcbuild.bat downloads
tools/perfetto/trace_processor_shell.exe with the same script before running
the tests. Set TRACE_PROCESSOR_SHELL_PATH to use an existing build of the
tool instead of downloading a release.
Refer to https://perfetto.dev/docs/reference/trace-processor-cli
for help of the trace_processor_shell CLI.