tmp_suning_uos_patched/tools/perf/util
Arnaldo Carvalho de Melo b0a7d1a0cd perf machine: Carve up event processing specific from perf_tool
The perf_tool vtable expects methods that receive perf_tool and
perf_sample entries, but for tools not interested in doing any special
processing on non PERF_RECORD_SAMPLE events, like 'perf top', and for
those not using perf_session, like 'perf trace', they were using
perf_event__process passing tool and sample paramenters that were just
not used.

Provide 'machine' methods for this purpose and make the perf_event
ones use them.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-ot9cc6mt025o8kbngzckcrx9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-10-06 16:34:13 -03:00
..
include perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
scripting-engines perf tools: Fix a compiling error in trace-event-perl.c for 32 bits machine 2012-09-20 08:30:21 -03:00
abspath.c
alias.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
annotate.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
annotate.h perf tools: Convert to NEWT_SUPPORT 2012-10-02 18:36:22 -03:00
bitmap.c
build-id.c perf event: No need to create a thread when handling PERF_RECORD_EXIT 2012-10-06 16:33:45 -03:00
build-id.h
cache.h perf tools: Convert to HAVE_STRLCPY 2012-10-02 18:36:24 -03:00
callchain.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
callchain.h
cgroup.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
cgroup.h
color.c
color.h
config.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
cpumap.c perf stat: Check PMU cpumask file 2012-09-17 13:12:02 -03:00
cpumap.h perf tools: Allow handling a NULL cpu_map as meaning "all cpus" 2012-09-26 12:41:14 -03:00
ctype.c
debug.c perf tools: Convert to GTK2_SUPPORT 2012-10-02 18:36:23 -03:00
debug.h perf tools: Convert to GTK2_SUPPORT 2012-10-02 18:36:23 -03:00
debugfs.c
debugfs.h
dso-test-data.c perf tools: replace mkostemp with mkstemp 2012-09-07 22:10:44 -03:00
dwarf-aux.c perf probe: Print an enum type variable in "enum variable-name" format when showing accessible variables 2012-09-27 10:58:57 -03:00
dwarf-aux.h
environment.c
event.c perf machine: Carve up event processing specific from perf_tool 2012-10-06 16:34:13 -03:00
event.h perf event: No need to create a thread when handling PERF_RECORD_EXIT 2012-10-06 16:33:45 -03:00
evlist.c perf tools: Have the page size value available for all tools 2012-10-06 16:33:14 -03:00
evlist.h perf evlist: Remove some unused methods 2012-10-03 11:52:07 -03:00
evsel.c perf evsel: Export the event_format constructor 2012-09-26 20:24:19 -03:00
evsel.h perf evsel: Export the event_format constructor 2012-09-26 20:24:19 -03:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh perf tools: Convert to LIBELF_SUPPORT 2012-09-28 21:07:36 -03:00
header.c perf evsel: Know if byte swap is needed 2012-09-26 12:48:18 -03:00
header.h perf header: Remove perf_header__read_feature 2012-09-24 11:47:46 -03:00
help.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
help.h
hist.c perf hists: Add more helpers for hist entry stat 2012-10-04 13:36:18 -03:00
hist.h perf diff: Add -F option to display formula for computation 2012-10-05 14:13:36 -03:00
hweight.c
intlist.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
intlist.h
levenshtein.c
levenshtein.h
machine.c perf machine: Carve up event processing specific from perf_tool 2012-10-06 16:34:13 -03:00
machine.h perf machine: Carve up event processing specific from perf_tool 2012-10-06 16:34:13 -03:00
map.c perf tools: Convert to LIBELF_SUPPORT 2012-09-28 21:07:36 -03:00
map.h perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
pager.c
parse-events-test.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
parse-events.c perf tools: Use perf_evsel__newtp in the event parser 2012-09-26 18:29:19 -03:00
parse-events.h
parse-events.l perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
parse-events.y perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
parse-options.c perf tools: Long option completion support for each subcommands 2012-10-02 18:36:44 -03:00
parse-options.h perf tools: Long option completion support for each subcommands 2012-10-02 18:36:44 -03:00
path.c perf tools: Convert to HAVE_STRLCPY 2012-10-02 18:36:24 -03:00
perf_regs.h perf tools: Convert to LIBUNWIND_SUPPORT 2012-10-02 17:56:01 -03:00
PERF-VERSION-GEN
pmu.c perf stat: Check PMU cpumask file 2012-09-17 13:12:02 -03:00
pmu.h perf stat: Check PMU cpumask file 2012-09-17 13:12:02 -03:00
pmu.l
pmu.y perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
probe-event.c perf tools: remove sscanf extension %as 2012-09-24 11:49:31 -03:00
probe-event.h
probe-finder.c perf probe: Add union member access support 2012-09-14 15:48:08 -03:00
probe-finder.h
pstack.c
pstack.h
python-ext-sources
python.c perf evsel: Know if byte swap is needed 2012-09-26 12:48:18 -03:00
quote.c
quote.h
rblist.c
rblist.h
run-command.c
run-command.h
session.c perf tools: Have the page size value available for all tools 2012-10-06 16:33:14 -03:00
session.h perf diff: Make diff command work with evsel hists 2012-09-07 21:44:02 -03:00
setup.py
sigchain.c
sigchain.h
sort.c perf tools: Add sort__has_sym 2012-09-17 13:08:59 -03:00
sort.h perf diff: Add weighted diff computation way to compare hist entries 2012-10-05 14:10:42 -03:00
stat.c perf stat: Move stats related code to util/stat.c 2012-09-17 13:10:03 -03:00
stat.h perf stat: Move stats related code to util/stat.c 2012-09-17 13:10:03 -03:00
strbuf.c
strbuf.h
strfilter.c
strfilter.h
string.c perf tools: Add memdup function 2012-09-11 12:04:41 -03:00
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol-elf.c
symbol-minimal.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
symbol.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
symbol.h perf tools: Convert to LIBELF_SUPPORT 2012-09-28 21:07:36 -03:00
sysfs.c
sysfs.h
target.c
target.h
thread_map.c
thread_map.h
thread.c perf machine: Introduce find_thread method 2012-10-06 16:33:22 -03:00
thread.h perf machine: Introduce find_thread method 2012-10-06 16:33:22 -03:00
tool.h
top.c
top.h perf tools: fix missing winsize definition 2012-09-07 22:07:32 -03:00
trace-event-info.c
trace-event-parse.c perf tools: remove sscanf extension %as 2012-09-24 11:49:31 -03:00
trace-event-read.c perf tools: Have the page size value available for all tools 2012-10-06 16:33:14 -03:00
trace-event-scripting.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
trace-event.h
types.h
unwind.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
unwind.h perf tools: Convert to LIBUNWIND_SUPPORT 2012-10-02 17:56:01 -03:00
usage.c
util.c perf tools: Have the page size value available for all tools 2012-10-06 16:33:14 -03:00
util.h perf tools: Have the page size value available for all tools 2012-10-06 16:33:14 -03:00
values.c
values.h
vdso.c perf tools: Back [vdso] DSO with real data 2012-09-11 12:08:30 -03:00
vdso.h perf tools: Back [vdso] DSO with real data 2012-09-11 12:08:30 -03:00
wrapper.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
xyarray.c
xyarray.h