Hi, I'm trying to follow
http://blog.nodejs.org/2012/04/25/profiling-node-js/
on
* Ubuntu 14.04
* Node compiled from github source on yesterday
to get a flame graph of a node program.

But I fail on step 2. 

dtrace -n 'profile-97/execname == "node" && arg1/{
    @[jstack(150, 8000)] = count(); } tick-60s { exit(0); }' > stacks.out

In my case writes this on stacks.out:
Usage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o 
<File>]

Also, doing a man dtrace I see that there is no -n option.

So I'd say that that post is outdated. But also I've read that dtrace for 
linux kind of sucks, so I'm not sure what's going on.

Also I've seen this problem is quickly mentioned here
http://logs.nodejs.org/node.js/2014-02-19
but not solved.

Please, do you know if there is still a way to get a flamegraph from node 
on Linux?

Thank you!

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1e16a778-1fa0-465a-9afa-90a85c9d61de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to