[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1332950153-8606-1-git-send-email-jolsa@redhat.com>
Date: Wed, 28 Mar 2012 17:55:48 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: acme@...hat.com, a.p.zijlstra@...llo.nl, mingo@...e.hu,
paulus@...ba.org, cjashfor@...ux.vnet.ibm.com, fweisbec@...il.com
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH/RFC 0/5] perf tool: event parsing enhancements
hi,
sending some enhancements for event parsing.
There are basically 2 features:
- adding hardcoded term 'name' to allow specifying a name
for the pmu event (patch 1/5)
- implement hardcoded term 'branch_type' and allow specifying
values like "branch_type=hv|any_ret|1" (patches 2-4/5)
Also, I was thinking of some overall event syntax documentation,
so I outlined something in patch 5/5. It's unfinished, highly
mistyped and partly stolen stuff.
What I'd expect would be some feedback about the form. Like what
it should look like.. event syntax + description of each event
type, modifiers etc.. please be gentle, it's RFC ;)
Attached patches:
1/5 perf, tool: Add hardcoded name term for pmu events
2/5 perf, tool: Split term type into value type and term type
3/5 perf, tool: Add list type for event term parsing
4/5 perf, tool: Add pmu event parse support for branch_sample_type values
5/5 perf, tool: Add events specification doc
thanks,
jirka
---
tools/perf/Documentation/perf-events.txt | 182 +++++++
tools/perf/Documentation/perf-record.txt | 2 +-
tools/perf/Documentation/perf-stat.txt | 2 +-
tools/perf/builtin-record.c | 31 +-
tools/perf/builtin-test.c | 53 ++
tools/perf/util/parse-events-bison.c | 799 ++++++++++++++++--------------
tools/perf/util/parse-events-bison.h | 16 +-
tools/perf/util/parse-events-flex.c | 597 ++++++++++++-----------
tools/perf/util/parse-events-flex.h | 2 +-
tools/perf/util/parse-events.c | 194 +++++++-
tools/perf/util/parse-events.h | 40 ++-
tools/perf/util/parse-events.l | 2 +
tools/perf/util/parse-events.y | 79 +++-
tools/perf/util/pmu.c | 85 ++--
tools/perf/util/pmu.h | 2 +
15 files changed, 1321 insertions(+), 765 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists