Open garthk opened 9 years ago
FYI @garthk edit your .csv by removing (ms)
from the first line. That should fix your issue while waiting for the PR to merge
Thanks for the workaround!
likewise, thanks for the workaround! however, how are you getting the memory addresses mapped to the function names? (the webapp uses the pid-n.map)
@bringingkatigbak Its been a while since I've used this. Could it be you need the --map parameter I tried to expose in https://github.com/thlorenz/cpuprofilify/pull/5 ?
@phillipj I see that thlorenz/flamegraph consumes thlorenz/cpuprofilify which both have pull requests to support the -m option. how do these two pull request reconcile with each other?
github.com/thlorenz/cpuprofilify/pull/5 github.com/thlorenz/flamegraph/pull/12
@bringingkatigbak both cpuprofilify and flamegraph comes with an CLI tool in addition to the npm module you normally require()
in the code. As far as I see they could both be merged as they add --map
to their respective CLI tool.
After taking a trace from
node 0.12.2
using Instruments 6.3.1, and exporting the Call Tree as27200.csv
:I've also tried
flamegraph -t instruments
. I'm not sure whycpuprofilify
is trying to detect the input type. Doesflamegraph
not pass its--inputtype
?