mstange / samply

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

Add a --browsers flag to samply record #231

Closed mstange closed 4 months ago

mstange commented 4 months ago

This flag enables the Microsoft-JScript provider to get JS JIT stacks in Firefox / Chrome / Edge, and the Firefox and Chrome providers to get PerformanceUserTiming trace events.

Not sure if --browsers is the best name but it'll do for now. There's also no way for samply users to pick the exact flags that get passed to these providers - for now, the workaround is to use xperf manually and then do samply import trace.etl.