lkml.org 
[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC 0/3] perf tool: Add new event group management
Date
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(-)


\
 
 \ /
  Last update: 2012-03-20 19:19    [W:1.048 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site