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

Unable to pipe the output to another tool #2

Open
fabpot opened this issue Feb 3, 2015 · 1 comment
Open

Unable to pipe the output to another tool #2

fabpot opened this issue Feb 3, 2015 · 1 comment

Comments

@fabpot
Copy link

fabpot commented Feb 3, 2015

I'm trying to use your tool to convert a Chrome CPU profile into callgrind to be able to upload it and visualize it on Blackfire.io, which is an online alternative to KCacheGrind.

If I do something like this, it works well (https://blackfire.io/profiles/7c6f85ac-8ad2-4bae-bbe7-fda21eee858f/graph):

chrome2calltree -i some.cpuprofile > some.callgrind
blackfire --slot=2 upload some.callgrind

But using a pipe like this:

chrome2calltree -i some.cpuprofile | blackfire --slot=2 upload

triggers the following error:

Error: No file provided on the command line

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: write EPIPE
    at errnoException (net.js:905:11)
    at Object.afterWrite (net.js:721:19)
@jlfwong
Copy link
Owner

jlfwong commented Mar 6, 2015

Not too sure offhand what would cause that, but I'm open to accepting PRs that fix the problem!

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