summaryrefslogtreecommitdiff
path: root/tools/perf/util/event.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-01-28 14:49:19 -0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-29 16:23:58 -0200
commitdc82009aac6ee6e423b48de43a251745c62ab012 (patch)
tree0f3a37aa7340a173f822e60e77e8c8bd5d520a7d /tools/perf/util/event.c
parent54489c189b1a0c10eaf21c6d2c5916b50442c871 (diff)
perf record: No need to check for overwrites
As we open the mmap with (PROT_READ | PROT_WRITE), signalling the kernel with perf_mmap__write_tail() when consuming data, so the kernel will not overwrite. Suggested-by: Peter Zijlstra <peterz@infradead.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.c')
0 files changed, 0 insertions, 0 deletions