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

when run the command: ./stackcollapse-perf.pl ../out/out11.stack > out.folder1 ; the command is hang #48

Open
Jay-Wang opened this issue Mar 25, 2015 · 3 comments

Comments

@Jay-Wang
Copy link

Hi, this is a very interesting tool. But when i tried it as following steps:
1 perf record -g -p $pid sleep 30 ; perf script > out1.stack
2 ./stackcollapse-perf.pl ../out/out11.stack > out.folder1
there is no output at all at the command 2. Could sb. can tell me why and how to fix it?

@HugoGuiroux
Copy link
Contributor

stackcollapse takes the data from STDIN, not as an argument.

./stackcollapse-perf.pl < ../out/out11.stack > out1.folder1 should work.

@HugoGuiroux
Copy link
Contributor

See #49

@Jay-Wang
Copy link
Author

thanks a lot. And it works well for me now.

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

2 participants