lkml.org 
[lkml]   [2012]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] perf tool: event parsing enhancements/fixes
Date
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(-)


\
 
 \ /
  Last update: 2012-04-04 22:25    [W:0.179 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site