[PATCH 0/8] perf tool: event parsing enhancements/fixes

From: Jiri Olsa
Date: Wed Apr 04 2012 - 16:23:47 EST


Hi,
adding some enhancements/fixies for perf event parsing.

- patch 1 is simple fix

- patches 2, 3, 4 and 5 are event config terms enhancements

- patches 6, 7 and 8 are maintanance patches either helping
with developement (6, 7) or making the code more clear (8).

Attached patches:
1/8 perf, tool: Fix NULL deref in hists browsing code
2/8 perf, tool: Split term type into value type and term type
3/8 perf, tool: Add list type for event term parsing
4/8 perf, tool: Add hardcoded name term for pmu events
5/8 perf, tool: Add pmu event parse support for branch_sample_type values
6/8 perf, tool: Move parse event automated tests to separated object
7/8 perf, tool: Add support for displaying event parser debug info
8/8 perf, tool: Use allocated list for each parsed event

thanks,
jirka
---
tools/perf/Makefile | 13 +-
tools/perf/builtin-record.c | 31 +--
tools/perf/builtin-test.c | 522 +-------------------------------
tools/perf/util/parse-events-test.c | 588 +++++++++++++++++++++++++++++++++++
tools/perf/util/parse-events.c | 240 +++++++++++++--
tools/perf/util/parse-events.h | 59 +++-
tools/perf/util/parse-events.l | 2 +
tools/perf/util/parse-events.y | 147 ++++++++--
tools/perf/util/pmu.c | 85 ++++--
tools/perf/util/pmu.h | 2 +
tools/perf/util/ui/browsers/hists.c | 3 +
11 files changed, 1037 insertions(+), 655 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/