Messages in this thread | | | Subject | Re: [RFC] perf/perf_events: misleading number of samples due to mmap() | From | Peter Zijlstra <> | Date | Wed, 16 Jun 2010 16:54:12 +0200 |
| |
On Wed, 2010-06-16 at 16:40 +0200, Stephane Eranian wrote: > The reason is that perf reports an estimate based on the > number of bytes written to the buffer divided by the minimal > sample size of 24 bytes.
Right, we should change that based on the PERF_SAMPLE flags used. It will remain an estimate due to the out of band events, but it should be closer than assuming the minimal sample size.
| |