symbolicate-trace
v1.2.1
Published
Symbolicate cpu_profiler samples from Electron apps.
Downloads
27
Readme
symbolicate-trace
This tool symbolicates cpu_profiler
traces produced by Electron's
contentTracing system.
The disabled-by-default-cpu_profiler
tracing category records a sample of the
native stack trace every 50 ms. This can be helpful in tracking down
performance issues in native code.
To record such stack samples, include the disabled-by-default-cpu_profiler
category in the content tracing configuration:
contentTracing.startRecording({
included_categories: [
'disabled-by-default-cpu_profiler',
// ...
]
})
Usage
$ npx symbolicate-trace path/to/recording.trace
Reading trace...
Parsing trace...
Symbolicating...
Writing symbolicated trace to 'path/to/recording.trace.symbolicated'...
$