speedscope icon indicating copy to clipboard operation
speedscope copied to clipboard

Not support non-systemwide perf result

Open Molin-L opened this issue 1 year ago • 3 comments

In the document, it gives an example of command, which works great:

perf record -a -F 999 -g ./my_program > perf.data

But in most case, I don't have sudo privilege, which means I cannot use -a to perf systemwide events. Also the size of systemwide result is really large. Currently speedscope doesn't support this kind of format. Do you have any plans on this? Thanks!

Molin-L avatar Dec 20 '23 01:12 Molin-L

Hey @Molin-L, do you have an example of a profile generated by perf that speedscope won't import? I'm not deeply familiar with the various formats output by perf, so it's totally possible this is accidentally broken

jlfwong avatar Dec 20 '23 04:12 jlfwong

@jlfwong I followed the command here https://github.com/jlfwong/speedscope/wiki/Importing-from-perf-(linux) , got the txt file, but speedscope complaining about "format not supported" .

birojnayak avatar Jan 04 '24 23:01 birojnayak

@birojnayak Can you please provide the resulting file that doesn't import? I suspect there's some variation in versions of system dependencies here

jlfwong avatar Jan 05 '24 03:01 jlfwong