From: Adrian Hunter <adrian.hunter@intel.com>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
Ian Rogers <irogers@google.com>,
linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org
Subject: [PATCH 0/1] perf tools: Allow config terms with breakpoints
Date: Thu, 27 Apr 2023 15:26:55 +0300 [thread overview]
Message-ID: <20230427122656.42473-1-adrian.hunter@intel.com> (raw)
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
next reply other threads:[~2023-04-27 12:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-27 12:26 Adrian Hunter [this message]
2023-04-27 12:26 ` [PATCH 1/1] perf tools: Allow config terms with breakpoints Adrian Hunter
2023-04-27 15:26 ` Ian Rogers
2023-04-27 16:08 ` Adrian Hunter
2023-04-27 20:26 ` Ian Rogers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230427122656.42473-1-adrian.hunter@intel.com \
--to=adrian.hunter@intel.com \
--cc=acme@kernel.org \
--cc=irogers@google.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=namhyung@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).