Questions tagged [perf]

Performance analyzing tool in Linux, also called perf_events; originally "Performance Counters for Linux", PCL (not to confuse with "Printer Command Language" nor "Point Cloud Library").

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Is there a way to save perf reports in a file?

Is there a way to save perf reports in a file that could be open without the perf.data file. Like a PDF or a .txt showing the graph? I'm talking about reports like this :
1 vote
1 answer
356 views

Permission to use perf timechart

I am learning to use perf profiling tool on my Ubuntu 18.04.3 LTS. I know by using perf timechart you can visualize your system behavior during a workload. I tried that with my parallel program: perf ...
  • 113
1 vote
1 answer
5k views

Unable to change kernel.perf_event_paranoid

I am trying to collect some data using perf, but whenever I try perf, I get the "You may not have permission to collect stats.", error. I have tried changing the /proc/sys/kernel/perf_event_paranoid ...
1 vote
0 answers
151 views

Does perf work on Red Hat 6.7?

My company is stuck on Red Hat Enterprise Linux 6.7. Running perf record ls as non-root results in an error: "Perf session creation failed." $ cat /proc/sys/kernel/perf_event_paranoid 1 $ uname -r 2....
0 votes
1 answer
5k views

Save "perf stat" output to a file without also saving the executed command's output

I'm running perf stat on the command ./start-server.sh -f server-config.xml: perf stat -e cache-misses ./start-server.sh -f server-config.xml I'd like to save the perf results to a file e.g. by ...
43 votes
1 answer
55k views

Run perf without root-rights

I'm running debian testing with the 4.1 kernel and version 4.1 of the perf tool. In this version they seem to have added some sort of protection to keep normal users from collecting data from that ...
  • 575
4 votes
1 answer
3k views

perf cannot get cache-misses for Linux VM on VMware ESX

I interested on measuring CPU cache-misses parameter and came across this tool called perf. I followed the wiki and able to get the cache-misses when this command is run on physical machine [root@...
6 votes
1 answer
3k views

What is exactly shown by "perf" as page-faults?

I want to count the number of disk accesses during a complete run of my script. My bash script runs 2 other executable files locally and 2 other executable files remotely. Something like this (those ...
  • 163
5 votes
1 answer
4k views

Read and parse perf.data

I am recording a performance counters frm linux using the command perf record. I want to use the result perf.data as an input to other programming apps. Do you know how shall I read and parse the ...
5 votes
2 answers
19k views

installing perf on RedHat

I read about perf tool and I was interested in using in my RedHat. On Ubuntu it is enough to call sudo apt-get install linux-tools-2.6.38-11. What about RED HAT? I tried both: yum install linux-...