lkml.org 
[lkml]   [2023]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH v1 0/3] Remove BPF arrays from perf event parsing
From
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

\
 
 \ /
  Last update: 2023-07-28 02:13    [W:0.057 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site