Re: [PATCH RFC] hist lookups

From: Jiri Olsa
Date: Mon Nov 05 2018 - 15:34:52 EST


On Sun, Nov 04, 2018 at 04:50:39PM -0800, David Miller wrote:
> From: Jiri Olsa <jolsa@xxxxxxxxxx>
> Date: Sun, 4 Nov 2018 21:18:21 +0100
>
> > do you have some code I could check on?
>
> All I have is this patch which parallelizes the mmap readers in perf
> top.

I put something together.. still testing, but it's already
showing 0 lost events when for 'overwrite = 0' case even
for high load.. the old code shows ~1500 for same workload

I'm printing lost event counts in stdio output header:

# perf top -d 1 --stdio
PerfTop: 5734 irqs/sec kernel:57.3% exact: 100.0% lost: 0 [4000Hz cycles:ppp], (all, 8 CPUs)

will probably add it to tui as well, seems useful

I pushed it in perf/fixes branch in:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git

it's stil work in prograss.. not too manye complete changelogs ;-)

jirka