hi,
adding support for creating event groups based on the way they
are specified on the command line.

This patchset adds the '{}' style grammar to express event group,
allowing so far only the 'event modifier' as group modifier.

v4 changes:
  - group modifier updates events modifiers (not overwrite as in v3)

Attached patches:
  perf, tool: Add support to parse event group syntax
  perf, tool: Add support to update event modifier
  perf, tool: Enable grouping logic for parsed events
  perf, test: Add automated tests for event group parsing

wbr,
jirka
---
 tools/perf/builtin-record.c         |   13 ++-
 tools/perf/builtin-stat.c           |   13 ++-
 tools/perf/builtin-test.c           |    8 +-
 tools/perf/builtin-top.c            |   12 +--
 tools/perf/util/evlist.c            |   20 ++---
 tools/perf/util/evlist.h            |    3 +-
 tools/perf/util/evsel.c             |   51 +++++++----
 tools/perf/util/evsel.h             |   13 +--
 tools/perf/util/parse-events-test.c |  303 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 tools/perf/util/parse-events.c      |  104 +++++++++++++++++++---
 tools/perf/util/parse-events.h      |    5 +-
 tools/perf/util/parse-events.l      |    2 +
 tools/perf/util/parse-events.y      |   93 +++++++++++++++++---
 tools/perf/util/python.c            |    7 +-
 14 files changed, 552 insertions(+), 95 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to