Questions tagged [flamegraph]

Flame graphs are a visualization of profiled software, allowing the most frequent code-paths to be identified quickly and accurately — Brendan Gregg

Flame graphs are a visualization of profiled software, allowing the most frequent code-paths to be identified quickly and accurately.

enter image description here

The x-axis shows the stack profile population, sorted alphabetically (it is not the passage of time), and the y-axis shows stack depth. Each rectangle represents a stack frame. The wider a frame is, the more often it was present in the stacks. The top edge shows what is on-CPU, and beneath it is its ancestry. The colors are usually not significant, picked randomly to differentiate frames.

This visualization is fully introduced and explained in the CPU Flame Graphs page, and in Brendan Gregg presentation.

63 questions
0
votes
1 answer

Google App Engine How to implement Profiling(Stack Tracing)?

I am using Google App Engine to run my NodeJS app on flexible env, now i wanted to generate FlameGraph but the thing is as App Engine itself handle scaling and deploying of instances now can anyone please tell me how can i generate…
0
votes
1 answer

Off-CPU flame graphs with perf: what should the types of the output fields be?

I've been following these instructions for generating an off-CPU flame graph for my code. However, when I get to this step: perf script -f comm,pid,tid,cpu,time,period,event,ip,sym,dso,trace I get the following error: Invalid field requested. …
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
0
votes
1 answer

Unable to create flamegraph for nodeJS process

I am trying to profile a nodeJS REST API using perf utility. command I'm using is perf record -F 99 -p 5395 -g -- sleep 60 5395 being process id. It works properly and writes data to perf.data file. [ perf record: Woken up 6 times to write data…
Pramod Jangam
  • 316
  • 3
  • 10
1 2 3 4
5