jlfwong / jlfwong/chrome2calltree
Unable to pipe the output to another tool
- Dominant language
- JavaScript
- Stars
- 393
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
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](https://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)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.