Files
linux/tools/perf/util
Song Liu c041d33bf7 perf evsel: Separate bpf_counter_list and bpf_filters, can be used at the same time
'struct evsel' uses a union for the two lists. This turned out to be
error prone.

For example:

  [root@quaco ~]# perf stat --bpf-prog 5246
  Error: cpu-clock event does not have sample flags 66c660
  failed to set filter "(null)" on event cpu-clock with 2 (No such file or directory)
  [root@quaco ~]# perf stat --bpf-prog 5246

Fix this issue by separating the two lists.

Fixes: 56ec9457a4 ("perf bpf filter: Implement event sample filtering")
Signed-off-by: Song Liu <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2023-05-26 16:03:43 -03:00
..
…
2023-04-04 16:41:57 -03:00
2023-04-04 16:41:57 -03:00
2022-01-12 17:01:38 -08:00
2023-04-04 16:41:57 -03:00
2022-06-28 12:05:25 -03:00
2023-04-04 16:41:57 -03:00
…
…
2023-03-14 08:29:46 -03:00
…
…
…
…
…
2022-10-04 08:55:21 -03:00
2023-02-19 08:10:25 -03:00
2021-04-29 10:30:58 -03:00
2023-04-04 16:41:57 -03:00
2021-08-11 09:35:44 -03:00
2023-03-13 17:42:27 -03:00
2023-01-23 10:00:47 -03:00
2023-03-13 17:42:27 -03:00
2023-03-20 19:28:21 -03:00
2021-11-07 12:27:38 -03:00
2021-02-03 13:10:44 -03:00
2023-04-04 13:23:59 -03:00
2021-07-15 17:30:22 -03:00
2023-04-19 12:57:53 -03:00
2023-04-19 12:57:53 -03:00
2023-04-19 12:57:53 -03:00
2023-04-19 10:53:01 -03:00
…
…
2023-03-13 17:42:27 -03:00
2023-04-06 21:40:28 -03:00
2023-04-06 21:40:28 -03:00
…
…
…
2022-12-14 15:28:18 -03:00
…
…
…
…
…
2023-03-20 19:28:21 -03:00
…
…
…
…
…
2020-10-14 13:34:26 -03:00
2021-02-17 15:15:06 -03:00
…
…
…
…
2022-06-23 11:54:22 -03:00
2022-10-04 08:55:20 -03:00
…
2023-04-10 19:20:53 -03:00
2023-04-10 19:21:31 -03:00
…
…
2023-04-04 16:41:57 -03:00
…
…