mstange / samply

Command-line sampling profiler for macOS and Linux
Apache License 2.0
2.04k stars 49 forks source link

Add a --per-cpu-threads flag. #144

Closed mstange closed 3 months ago

mstange commented 3 months ago

This is works in the perf.data importer and should work (though I haven't tested it yet) with samply record on Linux.

It creates a synthetic thread per CPU, and also a combined thread (the main thread of the synthetic "CPU" process) which contains all samples from all threads. Example: https://share.firefox.dev/3W8qt2f