]> git.karo-electronics.de Git - linux-beck.git/commit
perf tools: Introduce event selectors
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Jan 2011 18:39:04 +0000 (16:39 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Jan 2011 18:39:04 +0000 (16:39 -0200)
commit69aad6f1ee69546dea8535ab8f3da9f445d57328
treeb328ec140a6a90703a049fcc661d623025d7e81f
parent56f4c400349157289b474a3fd49ee96acab0a4d7
perf tools: Introduce event selectors

Out of ad-hoc code and global arrays with hard coded sizes.

This is the first step on having a library that will be first
used on regression tests in the 'perf test' tool.

[acme@felicio linux]$ size /tmp/perf.before
   text    data     bss     dec     hex filename
1273776   97384 5104416 6475576  62cf38 /tmp/perf.before
[acme@felicio linux]$ size /tmp/perf.new
   text    data     bss     dec     hex filename
1275422   97416 1392416 2765254  2a31c6 /tmp/perf.new

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>
14 files changed:
tools/perf/Makefile
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/util/evsel.c [new file with mode: 0644]
tools/perf/util/evsel.h [new file with mode: 0644]
tools/perf/util/header.c
tools/perf/util/header.h
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h
tools/perf/util/trace-event-info.c
tools/perf/util/trace-event.h
tools/perf/util/xyarray.c [new file with mode: 0644]
tools/perf/util/xyarray.h [new file with mode: 0644]