| From: |
| Jiri Olsa <jolsa@redhat.com> |
| To: |
| acme@redhat.com, a.p.zijlstra@chello.nl, mingo@elte.hu,
paulus@samba.org, cjashfor@linux.vnet.ibm.com, fweisbec@gmail.com |
| Subject: |
| [RFC 0/3] perf tool: Add new event group management |
| Date: |
| Tue, 20 Mar 2012 19:15:38 +0100 |
| Message-ID: |
| <1332267341-26338-1-git-send-email-jolsa@redhat.com> |
| Cc: |
| linux-kernel@vger.kernel.org |
| Archive-link: |
| Article, Thread
|
hi,
adding support for creating event groups based on the way they
are specified on the command line. Also attaching several fixies
to current code.
attached patches:
1/3 perf, tool: Fix various casting issues for 32 bits
2/3 perf, tool: Fix modifier to be applied on correct events
3/3 perf, tool: Add new event group management
I added automated tests and run some record and stats tests
based on the examples (attached in the 3/3 changelog), and
so far so good..
thanks for comments,
jirka
---
tools/perf/Makefile | 2 +
tools/perf/builtin-record.c | 8 +-
tools/perf/builtin-stat.c | 10 +-
tools/perf/builtin-test.c | 126 +++++++-
tools/perf/builtin-top.c | 8 +-
tools/perf/perf.h | 3 +-
tools/perf/util/evlist.c | 4 +-
tools/perf/util/evlist.h | 3 +-
tools/perf/util/evsel.c | 32 ++-
tools/perf/util/evsel.h | 9 +-
tools/perf/util/group.c | 22 ++
tools/perf/util/group.h | 32 ++
tools/perf/util/header.c | 2 +-
tools/perf/util/parse-events-bison.c | 675 +++++++++++++++++++---------------
tools/perf/util/parse-events-bison.h | 15 +-
tools/perf/util/parse-events.c | 47 ++-
tools/perf/util/parse-events.h | 10 +-
tools/perf/util/parse-events.y | 40 ++-
tools/perf/util/python.c | 4 +
tools/perf/util/top.h | 2 +-
20 files changed, 687 insertions(+), 367 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/