perf tools: Use common process_event functions for annotate and report
authorJohn Kacur <jkacur@redhat.com>
Tue, 24 Nov 2009 14:35:01 +0000 (15:35 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Nov 2009 15:37:01 +0000 (16:37 +0100)
commite74328d3a17ed75ffdf72b86f289965823a47240
tree03b0db84b69f2cb3dce994db0d058804a8748fb1
parentc9c7ccaf3a2686ed3a44d69bb1f8b55eeead8a4e
perf tools: Use common process_event functions for annotate and report

Prevent bit-rot in perf-annotate by using common functions where
possible. Here we create process_events.[ch] to hold the common
functions.

Signed-off-by: John Kacur <jkacur@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: acme@redhat.com
LKML-Reference: <1259073301-11506-3-git-send-email-jkacur@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/util/process_event.c [new file with mode: 0644]
tools/perf/util/process_event.h [new file with mode: 0644]
tools/perf/util/process_events.c [new file with mode: 0644]
tools/perf/util/process_events.h [new file with mode: 0644]