[0/1] perf tools: Allow config terms with breakpoints

Message ID 20230427122656.42473-1-adrian.hunter@intel.com
Headers
Series perf tools: Allow config terms with breakpoints |

Message

Adrian Hunter April 27, 2023, 12:26 p.m. UTC
  Hi

Here is a patch 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.


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

 tools/perf/tests/parse-events.c | 135 ++++++++++++++++++++++++++++++++++++++++
 tools/perf/util/parse-events.c  |  23 +++++--
 tools/perf/util/parse-events.h  |   6 +-
 tools/perf/util/parse-events.l  |   7 ++-
 tools/perf/util/parse-events.y  |  42 +++++++------
 5 files changed, 187 insertions(+), 26 deletions(-)


Regards
Adrian