All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] selftests/bpf: fix for veristat file/prog filters processing
@ 2026-08-11 17:52 Eduard Zingerman
  2026-08-11 17:52 ` [PATCH bpf-next 1/2] " Eduard Zingerman
  2026-08-11 17:52 ` [PATCH bpf-next 2/2] selftests/bpf: exercise veristat filtering logic in a selftest Eduard Zingerman
  0 siblings, 2 replies; 7+ messages in thread
From: Eduard Zingerman @ 2026-08-11 17:52 UTC (permalink / raw)
  To: bpf, ast, andrii
  Cc: daniel, martin.lau, kernel-team, yonghong.song, eddyz87, memxor

At the moment veristat filtering behaves unexpectedly for the
following filter expression:

  -f !file/prog

The expression rejects all programs with name 'prog', and all programs
in a file with name 'file'. Fix the expression to exclude only a
program 'prog' from a file 'file', also add a set of tests to exercise
filtering logic.

---
Eduard Zingerman (2):
      selftests/bpf: fix for veristat file/prog filters processing
      selftests/bpf: exercise veristat filtering logic in a selftest

 .../selftests/bpf/prog_tests/test_veristat.c       | 98 ++++++++++++++++++++++
 tools/testing/selftests/bpf/progs/veristat_bar.c   |  3 +
 tools/testing/selftests/bpf/progs/veristat_foo.c   | 31 +++++++
 tools/testing/selftests/bpf/veristat.c             | 76 +++++++++++------
 4 files changed, 181 insertions(+), 27 deletions(-)
---
base-commit: d114bb98936770c501c958bf2bc5fb6b7c0bad7b
change-id: 20260811-veristat-filter-fix-920cff2a288a

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-08-11 19:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11 17:52 [PATCH bpf-next 0/2] selftests/bpf: fix for veristat file/prog filters processing Eduard Zingerman
2026-08-11 17:52 ` [PATCH bpf-next 1/2] " Eduard Zingerman
2026-08-11 18:41   ` bot+bpf-ci
2026-08-11 19:24     ` Eduard Zingerman
2026-08-11 17:52 ` [PATCH bpf-next 2/2] selftests/bpf: exercise veristat filtering logic in a selftest Eduard Zingerman
2026-08-11 18:56   ` bot+bpf-ci
2026-08-11 19:29     ` Eduard Zingerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.