Skip to content

perf tools: Allow config terms with breakpoints

Adrian Hunter linux-perf-users lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 6 repliesIn review
  2. v21 patch 1 replySuperseded
  3. v11 patch 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1perf tools: Allow config terms with breakpointstools/perf/tests/parse-events.c tools/perf/util/parse-events.c tools/perf/util/parse-events.h +2 more+224 -270 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchIan Rogers
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/1] perf tools: Allow config terms with breakpoints

Hi

Here is a patch (V3) to the event parser for breakpoint events. I am not that familiar with flex / bison, but it seemed to need trailing context to stop the mem event colon and slash delimiters from getting mixed up with delimiters for config terms or event modifiers. Please look closely at that.

Changes in V3:

Add Ian's Reviewed-by
Re-base

Changes in V2:

Add comments to tools/perf/util/parse-events.l Add a test for 2 mem events back to back with config terms

Adrian Hunter (1):
perf tools: Allow config terms with breakpoints

 tools/perf/tests/parse-events.c | 157 ++++++++++++++++++++++++++++++++++++++++
 tools/perf/util/parse-events.c  |  23 +++++-
 tools/perf/util/parse-events.h  |   6 +-
 tools/perf/util/parse-events.l  |  23 +++++-
 tools/perf/util/parse-events.y  |  42 ++++++-----
 5 files changed, 224 insertions(+), 27 deletions(-)

Regards
Adrian