aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2011-01-29 11:04:40 +0000
committerArnaldo Carvalho de Melo <[email protected]>2011-01-29 18:24:24 +0000
commitef2bf6d043ac9bd4a6f38d862af407154a4754d9 (patch)
tree6fa92bb6b329ef2dc2087dc173d7eccad6c7aa2a /tools/perf/builtin-script.c
parentperf record: No need to check for overwrites (diff)
downloadkernel-ef2bf6d043ac9bd4a6f38d862af407154a4754d9.tar.gz
kernel-ef2bf6d043ac9bd4a6f38d862af407154a4754d9.zip
perf events: Account PERF_RECORD_LOST events in event__process
Right now this function is only used by perf top, that uses PROT_READ only, i.e. overwrite mode, so no PERF_RECORD_LOST events are generated, but don't forget those events. The patch that moved this out of perf top was made so that this routine could be used by 'perf probe' in the uprobes patchset, so perhaps there they need to check for LOST events and warn the user, as will be done in the following patches that will switch 'perf top' to non overwrite mode (mmap with PROT_READ|PROT_WRITE). Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Srikar Dronamraju <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions