All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 bpf-next 0/2] bpf: Fix fill_link_info and add selftest
@ 2023-07-27 11:43 Yafang Shao
  2023-07-27 11:43 ` [PATCH v2 bpf-next 1/2] bpf: Fix uninitialized symbol in bpf_perf_link_fill_kprobe() Yafang Shao
  2023-07-27 11:43 ` [PATCH v2 bpf-next 2/2] selftests/bpf: Add selftest for fill_link_info Yafang Shao
  0 siblings, 2 replies; 7+ messages in thread
From: Yafang Shao @ 2023-07-27 11:43 UTC (permalink / raw)
  To: ast, daniel, john.fastabend, andrii, martin.lau, song, yhs,
	kpsingh, sdf, haoluo, jolsa
  Cc: bpf, Yafang Shao

Patch #1: Fix an error in fill_link_info reported by Dan
Patch #2: Add selftest for #1

Yafang Shao (2):
  bpf: Fix uninitialized symbol in bpf_perf_link_fill_kprobe()
  selftests/bpf: Add selftest for fill_link_info

v1->v2:
  - Fix BPF CI failure due to the enabled ENDBDR

 kernel/bpf/syscall.c                               |  10 +-
 .../selftests/bpf/prog_tests/fill_link_info.c      | 238 +++++++++++++++++++++
 .../selftests/bpf/progs/test_fill_link_info.c      |  25 +++
 tools/testing/selftests/bpf/test_progs.h           |  19 ++
 4 files changed, 287 insertions(+), 5 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/fill_link_info.c
 create mode 100644 tools/testing/selftests/bpf/progs/test_fill_link_info.c

-- 
1.8.3.1


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

end of thread, other threads:[~2023-07-27 14:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27 11:43 [PATCH v2 bpf-next 0/2] bpf: Fix fill_link_info and add selftest Yafang Shao
2023-07-27 11:43 ` [PATCH v2 bpf-next 1/2] bpf: Fix uninitialized symbol in bpf_perf_link_fill_kprobe() Yafang Shao
2023-07-27 13:07   ` Jiri Olsa
2023-07-27 14:25     ` Yafang Shao
2023-07-27 11:43 ` [PATCH v2 bpf-next 2/2] selftests/bpf: Add selftest for fill_link_info Yafang Shao
2023-07-27 13:49   ` Jiri Olsa
2023-07-27 14:27     ` Yafang Shao

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.