]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
perf: Introduce a new "round of buffers read" pseudo event
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 2 May 2010 20:05:29 +0000 (22:05 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 9 May 2010 11:43:42 +0000 (13:43 +0200)
commit984028075794c00cbf4fb1e94bb6233e8be08875
tree80c925f948cce8132dde8ec9307854365d363aff
parente157eb8341e7885ff2d9f1620155e3da6e0c8f56
perf: Introduce a new "round of buffers read" pseudo event

In order to provide a more rubust and deterministic reordering
algorithm, we need to know when we reach a point where we just
did a pass through over every counter buffers to read every thing
they had.

This patch introduces a new PERF_RECORD_FINISHED_ROUND pseudo event
that only consist in an event header and doesn't need to contain
anything.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/event.h