Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8138959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:40:18+00:00 2026-06-06T11:40:18+00:00

I am currently profiling my node.js application.I found this blog: http://blog.nodejs.org/2012/04/25/profiling-node-js/ that suggests I

  • 0

I am currently profiling my node.js application.I found this blog: http://blog.nodejs.org/2012/04/25/profiling-node-js/ that suggests I should use Dtrace.
I installed dtrace on ubuntu 12.04 using steps given here: https://askubuntu.com/questions/60940/how-do-i-install-dtrace

However when I run this command in my terminal while my node application is running:

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

stacks.out remains blank except this:
CPU ID FUNCTION:NAME
1 387695 :tick-60s

Any suggestions what might be wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:40:21+00:00Added an answer on June 6, 2026 at 11:40 am

    The Linux DTrace implementations are currently very young and missing a number of important features (and are not in any way ready for production use). Specifically the DTrace implementation you are using (Paul Fox’s) has not done much if any work to support userspace tracing. So you will not be able to do this under Linux (right now).

    If you want to get this to work you will need to use an operating system with a more complete implementation of DTrace. You’re best bet is to use one of the Illumos derivatives (such as OmniOS, SmartOS or OpenIndiana).

    You should re-read the ‘prerequisites’ section of the the article you linked to. It states that you also need to make sure you use 32bit NodeJS with DTrace support turned on at compile time.

    (Mac OS X does have a good DTrace implementation, but according to the article it does not support ustack helpers which are needed for this example.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got this webapp that needs some memory tuning. While I'm already profiling the
In my binary to text decoding application (.NET 2.0) I found that the line:
I'm currently implementing a profiling system into an application. I have a two macro
While profiling my Python's application, I've discovered that len() seems to be a very
I'm currently profiling an application with performance problems using Valgrind's Callgrind. In looking at
I'm currently in the process of performance profiling. We have a basic client/server application.
Currently I am doing the profiling to a piece of code. During the profiling,
Here is the current code in my application: String[] ids = str.split("/"); When profiling
Currently working with converting SQLException error messages into messages that are more useful for
while profiling NHibernate with NHProf I noticed that a lot of time is spend

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.