Top "Perf" questions

Perf is a profiler tool for Linux 2.6+ based systems.

How can I get perf to find symbols in my program

When using perf report, I don't see any symbols for my program, instead I get output like this: $ perf record /…

linux performance perf
linux perf: how to interpret and find hotspots

I tried out linux' perf utility today and am having trouble in interpreting its results. I'm used to valgrind's callgrind …

c++ linux performance profiling perf
Call stack in the perf profiler

I'm running "perf" in the following way: perf record -a --call-graph -p some_pid perf report --call-graph --stdio Then, I …

linux profiling perf
Why doesn't perf report cache misses?

According to perf tutorials, perf stat is supposed to report cache misses using hardware counters. However, on my system (up-to-date …

linux caching optimization profiling perf
Install "perf" on Mac

I need the "perf" utility to monitor the program on my Mac. I know linux comes with it, but is …

macos profiling osx-mavericks performancecounter perf
What are perf cache events meaning?

I am trying to figure out why a modified C program is running faster than its non modified counter part (…

c linux perf
perf: Couldn't record kernel reference relocation symbol

I have compiled perf for my kernel (3.11.10). During the compilation, some libraries were missing, so I have installed those. But …

kernel perf
Understanding Linux perf report output

Though I can intuitively get most of the results, I'm having hard time fully understanding the output of the perf …

c linux perf
Is there a way to set kptr_restrict to 0?

I am currently having trouble running linux perf, mostly because /proc/sys/kernel/kptr_restrict is currently set to 1. However, …

linux linux-kernel perf
why does perf stat show "stalled-cycles-backend" as <not supported>?

Running perf stat ls shows this: Performance counter stats for 'ls': 1.388670 task-clock # 0.067 CPUs utilized 2 context-switches # 0.001 M/sec 0 cpu-migrations # 0.000 K/sec 266 …

linux performance cpu perf