Messages in this thread | | | From | Jiri Olsa <> | Subject | [PATCH 0/3] perf tools: Add automated tests for events parsing | Date | Thu, 14 Jul 2011 11:25:31 +0200 |
| |
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(-)
| |