Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/tools/perf
OGAWA Hirofumi 180f95e29a perf: Make common SAMPLE_EVENT parser
Currently, sample event data is parsed for each commands, and it
is assuming that the data is not including other data. (E.g.
timechart, trace, etc. can't parse the event if it has
PERF_SAMPLE_CALLCHAIN)

So, even if we record the superset data for multiple commands at
a time, commands can't parse. etc.

To fix it, this makes common sample event parser, and use it to
parse sample event correctly. (PERF_SAMPLE_READ is unsupported
for now though, it seems to be not using.)

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <87hbs48imv.fsf@devron.myhome.or.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-12-06 18:15:01 +01:00
..
bench perf tools: Introduce zalloc() for the common calloc(1, N) case 2009-11-24 16:37:02 +01:00
Documentation perf trace: Add Documentation for perf trace Perl support 2009-11-28 10:04:27 +01:00
scripts/perl perf trace/scripting: Add Fedora libperl install note to doc 2009-11-30 09:04:01 +01:00
util perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
.gitignore perf tools: Add perf.data to .gitignore 2009-11-24 16:37:01 +01:00
builtin-annotate.c perf annotate: Fix perf data parsing 2009-12-01 08:14:08 +01:00
builtin-bench.c perf bench: Add memcpy() benchmark 2009-11-19 06:21:48 +01:00
builtin-buildid-list.c perf buildid-list: Always show the DSO name 2009-11-17 07:19:54 +01:00
builtin-help.c perf tools: Introduce zalloc() for the common calloc(1, N) case 2009-11-24 16:37:02 +01:00
builtin-kmem.c perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
builtin-list.c perf list: Fix large list output by using the pager 2009-08-13 09:05:48 +02:00
builtin-probe.c perf_event: Fix compile error 2009-12-02 09:27:01 +01:00
builtin-record.c perf record, x86: Print more intelligent error message when sampling fails 2009-11-23 09:40:13 +01:00
builtin-report.c perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
builtin-sched.c perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
builtin-stat.c perf stat: Do not print ratio when task-clock event is not counted 2009-11-15 15:25:50 +01:00
builtin-timechart.c perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
builtin-top.c perf tools: Consolidate symbol resolving across all tools 2009-11-27 20:22:02 +01:00
builtin-trace.c perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
builtin.h perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
command-list.txt perf kmem: Add help file 2009-11-24 08:49:51 +01:00
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
design.txt perf_event: Add alignment-faults and emulation-faults software events 2009-10-28 16:13:03 +11:00
Makefile Merge branch 'perf/scripting' into perf/core 2009-12-03 20:10:42 +01:00
perf.c perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
perf.h perf tools: Add ia64 support for tools/perf/ 2009-11-19 06:03:33 +01:00