kernel_optimize_test/tools/perf/util
Arnaldo Carvalho de Melo ef2bf6d043 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 <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: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
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>
2011-01-29 16:24:24 -02:00
..
include perf evsel: Introduce perf_evlist 2011-01-22 19:56:28 -02:00
scripting-engines perf: Rename 'perf trace' to 'perf script' 2010-11-16 19:37:44 +01:00
ui perf callchain: Rename cumul_hits into callchain_cumul_hits 2011-01-22 19:56:31 -02:00
abspath.c
alias.c
bitmap.c
build-id.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
build-id.h
cache.h perf tools: add test for strlcpy() 2010-08-21 11:22:47 -03:00
callchain.c perf callchain: Don't give arbitrary gender to callchain tree nodes 2011-01-22 19:56:31 -02:00
callchain.h perf callchain: Don't give arbitrary gender to callchain tree nodes 2011-01-22 19:56:31 -02:00
color.c
color.h
config.c
cpumap.c perf tools: Add missing cpu_map__delete() 2011-01-22 19:56:30 -02:00
cpumap.h perf tools: Add missing cpu_map__delete() 2011-01-22 19:56:30 -02:00
ctype.c
debug.c perf debug: Simplify trace_event 2010-11-30 20:58:42 -02:00
debug.h perf tools: Fix lost and unknown events handling 2010-11-27 02:41:01 -02:00
debugfs.c
debugfs.h
environment.c
event.c perf events: Account PERF_RECORD_LOST events in event__process 2011-01-29 16:24:24 -02:00
event.h perf tools: Move event__parse_sample to evsel.c 2011-01-24 13:17:56 -02:00
evlist.c perf evsel: Introduce perf_evsel__{in,ex}it 2011-01-24 13:18:05 -02:00
evlist.h perf evsel: Introduce perf_evsel__{in,ex}it 2011-01-24 13:18:05 -02:00
evsel.c perf evsel: Introduce perf_evsel__{in,ex}it 2011-01-24 13:18:05 -02:00
evsel.h perf evsel: Introduce perf_evsel__{in,ex}it 2011-01-24 13:18:05 -02:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c perf evsel: Introduce perf_evlist 2011-01-22 19:56:28 -02:00
header.h perf evsel: Introduce perf_evlist 2011-01-22 19:56:28 -02:00
help.c
help.h
hist.c perf callchain: Rename cumul_hits into callchain_cumul_hits 2011-01-22 19:56:31 -02:00
hist.h perf callchain: Feed callchains into a cursor 2011-01-22 19:56:31 -02:00
hweight.c
levenshtein.c
levenshtein.h
map.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
map.h perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
pager.c
parse-events.c perf tools: Pass the struct opt to the wildcard parsing routine 2011-01-24 10:58:39 -02:00
parse-events.h perf evsel: Introduce perf_evlist 2011-01-22 19:56:28 -02:00
parse-options.c
parse-options.h perf options: add OPT_CALLBACK_DEFAULT_NOOPT 2010-12-06 15:33:29 -02:00
path.c perf tools: add test for strlcpy() 2010-08-21 11:22:47 -03:00
PERF-VERSION-GEN
probe-event.c perf probe: Add filters support for available functions 2011-01-28 09:20:25 -02:00
probe-event.h perf probe: Add filters support for available functions 2011-01-28 09:20:25 -02:00
probe-finder.c perf probe: Enable to put probe inline function call site 2011-01-24 10:57:03 -02:00
probe-finder.h perf tools: Remove hardcoded include paths for elfutils 2010-11-19 16:38:04 -02:00
pstack.c
pstack.h perf ui: Move hists browser to util/ui/browsers/ 2010-08-10 16:11:08 -03:00
quote.c
quote.h
run-command.c
run-command.h
session.c perf tools: Move event__parse_sample to evsel.c 2011-01-24 13:17:56 -02:00
session.h perf tools: Move event__parse_sample to evsel.c 2011-01-24 13:17:56 -02:00
sigchain.c
sigchain.h
sort.c perf hist: Better displaying of unresolved DSOs and symbols 2010-12-06 15:12:34 -02:00
sort.h perf: Keep track of the max depth of a callchain 2010-08-22 20:43:17 +02:00
strbuf.c
strbuf.h
strfilter.c perf tools: Add strfilter for general purpose string filter 2011-01-28 09:19:38 -02:00
strfilter.h perf tools: Add strfilter for general purpose string filter 2011-01-28 09:19:38 -02:00
string.c perf tools: Fix lazy wildcard matching 2010-12-21 19:15:42 -02:00
strlist.c
strlist.h
svghelper.c perf tools: Fix time function double declaration with glibc 2011-01-22 19:53:00 -02:00
svghelper.h
symbol.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
symbol.h Merge commit 'v2.6.37-rc8' into perf/core 2011-01-04 08:08:54 +01:00
thread_map.c perf threads: Move thread_map to separate file 2011-01-24 10:59:00 -02:00
thread_map.h perf threads: Move thread_map to separate file 2011-01-24 10:59:00 -02:00
thread.c perf threads: Move thread_map to separate file 2011-01-24 10:59:00 -02:00
thread.h perf threads: Move thread_map to separate file 2011-01-24 10:59:00 -02:00
trace-event-info.c perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c perf trace scripting: Fix extern struct definitions 2010-10-04 12:24:51 -03:00
trace-event.h perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00
types.h perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
usage.c
util.c perf util: Move do_read from session to util 2011-01-03 16:50:55 -02:00
util.h perf util: Move do_read from session to util 2011-01-03 16:50:55 -02:00
values.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
values.h
wrapper.c
xyarray.c perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00
xyarray.h perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00