Skip to content

How to use this on a binary with arguments? #644

Closed Answered by milianw
RokeJulianLockhart asked this question in Q&A
Discussion options

You must be logged in to vote

Remove the quotes, just do:

perf record --call-graph dwarf echo yes this works

If you want to make it more explicit, add two -- inbetween:

perf record --call-graph dwarf -- echo yes this works

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RokeJulianLockhart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants