Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not support non-systemwide perf result #452

Open
Molin-L opened this issue Dec 20, 2023 · 3 comments
Open

Not support non-systemwide perf result #452

Molin-L opened this issue Dec 20, 2023 · 3 comments

Comments

@Molin-L
Copy link

Molin-L commented Dec 20, 2023

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!

@jlfwong
Copy link
Owner

jlfwong commented Dec 20, 2023

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

@birojnayak
Copy link

@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" .

@jlfwong
Copy link
Owner

jlfwong commented Jan 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants