Messages in this thread | | | Date | Thu, 27 Jul 2023 17:12:09 -0700 | Subject | [PATCH v1 0/3] Remove BPF arrays from perf event parsing | From | Ian Rogers <> |
| |
Event parsing was recently refactored: https://lore.kernel.org/all/20230502223851.2234828-1-irogers@google.com/
During these changes I wanted to get coverage of all parts of the parse-events.y and found that I couldn't test the array code.
The first patch fixes a BPF testing issue. The 2nd and 3rd patch remove the BPF array event parsing code so that it isn't adding complexity to event parsing.
Ian Rogers (3): perf parse-event: Avoid BPF test segv perf tools: Revert enable indices setting syntax for BPF map perf parse-events: Remove array remnants
tools/perf/util/bpf-loader.c | 101 --------------------------- tools/perf/util/parse-events.c | 18 +---- tools/perf/util/parse-events.h | 10 --- tools/perf/util/parse-events.l | 11 --- tools/perf/util/parse-events.y | 122 --------------------------------- 5 files changed, 2 insertions(+), 260 deletions(-)
-- 2.41.0.487.g6d72f3e995-goog
| |