[PATCH 0/3] perf tools: Add automated tests for events parsing

From: Jiri Olsa
Date: Thu Jul 14 2011 - 05:26:17 EST


hi,
I'm adding automated test for parse_events function (patch 2/3).
I needed to change the parse_events interface slightly (patch 1/3).
Also using debugfs_path in trace_event__id so the path is not
hardcoded (patch 3/3).

attached patches:
- 1/3 perf tools: De-opt the parse_events function
- 2/3 perf tools: Add automated tests for events parsing
- 3/3 perf tools: Make test use the preset debugfs path

wbr,
jirka
---
tools/perf/builtin-record.c | 2 +-
tools/perf/builtin-stat.c | 2 +-
tools/perf/builtin-test.c | 240 +++++++++++++++++++++++++++++++++++++++-
tools/perf/builtin-top.c | 2 +-
tools/perf/util/parse-events.c | 25 +++--
tools/perf/util/parse-events.h | 6 +-
6 files changed, 261 insertions(+), 16 deletions(-)
--
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/