[PATCH] Perf-tools create common process_event functions

From: John Kacur
Date: Tue Nov 24 2009 - 09:35:16 EST


This continues the effort to prevent bit-rot in perf-annotate by using
common functions for perf-report and perf-annotate where possible.

This creates the process.[ch] files.
More functions can be added here after - but this is a working step
in the process.

John Kacur (2):
perf-tools: Add perf.data to .gitignore
perf-tools: Use common process_event functions for annotate and
report

tools/perf/.gitignore | 1 +
tools/perf/Makefile | 2 +
tools/perf/builtin-annotate.c | 56 +--------------------------------
tools/perf/builtin-report.c | 63 +------------------------------------
tools/perf/util/process_event.c | 53 +++++++++++++++++++++++++++++++
tools/perf/util/process_event.h | 29 +++++++++++++++++
tools/perf/util/process_events.c | 64 ++++++++++++++++++++++++++++++++++++++
tools/perf/util/process_events.h | 35 ++++++++++++++++++++
8 files changed, 187 insertions(+), 116 deletions(-)
create mode 100644 tools/perf/util/process_event.c
create mode 100644 tools/perf/util/process_event.h
create mode 100644 tools/perf/util/process_events.c
create mode 100644 tools/perf/util/process_events.h

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/