]> git.baikalelectronics.ru Git - kernel.git/commit
perf top: Drop samples which are behind the refresh rate
authorJiri Olsa <jolsa@kernel.org>
Sun, 11 Nov 2018 18:52:06 +0000 (19:52 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 17:58:26 +0000 (14:58 -0300)
commit93f94b4296ef44b110e372ff07bfa4d19803f991
tree831bc59ba4d241735b7e9c09854883f7bef1895c
parent981ffe312e91ce9fbd326465a89fcbee7d6249b5
perf top: Drop samples which are behind the refresh rate

Drop samples from processing thread if they get behind the latest event
read from the kernel maps. If it gets behind more than the refresh rate
(-d option), drop the sample.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/n/tip-x533ra5c1pgofvbtsizzuydd@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c