Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

From: Ingo Molnar
Date: Mon Aug 15 2016 - 01:03:09 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> Make sure you actually use "perf record -e cycles:pp" or something
> that uses PEBS to get real profiles using CPU performance counters.

Btw., 'perf record -e cycles:pp' is the default now for modern versions
of perf tooling (on most x86 systems) - if you do 'perf record' it will
just use the most precise profiling mode available on that particular
CPU model.

If unsure you can check the event that was used, via:

triton:~> perf report --stdio 2>&1 | grep '# Samples'
# Samples: 27K of event 'cycles:pp'

Thanks,

Ingo