All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] add support for writable bare tracepoint
@ 2021-09-16 13:55 Hou Tao
  2021-09-16 13:55 ` [PATCH 1/3] bpf: support writable context for " Hou Tao
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Hou Tao @ 2021-09-16 13:55 UTC (permalink / raw)
  To: Alexei Starovoitov
  Cc: Daniel Borkmann, Andrii Nakryiko, Martin KaFai Lau, Song Liu,
	bpf, netdev, houtao1

Hi,

The patchset series supports writable context for bare tracepoint.

The main idea comes from patchset "writable contexts for bpf 
raw tracepoints" [1], but it only supports normal tracepoint
with associated trace event under tracefs. Bare tracepoint
is more light-weight and doesn't have the ABI burden of
normal tracepoint, so add support for it in BPF.

Any comments are welcome.

[1]: https://lore.kernel.org/lkml/20190426184951.21812-1-mmullins@fb.com

Hou Tao (3):
  bpf: support writable context for bare tracepoint
  libbpf: support detecting and attaching of writable tracepoint program
  bpf/selftests: add test for writable bare tracepoint

 include/trace/bpf_probe.h                     | 19 +++++++--
 tools/lib/bpf/libbpf.c                        |  4 ++
 .../bpf/bpf_testmod/bpf_testmod-events.h      | 15 +++++++
 .../selftests/bpf/bpf_testmod/bpf_testmod.c   | 10 +++++
 .../selftests/bpf/bpf_testmod/bpf_testmod.h   |  5 +++
 .../selftests/bpf/prog_tests/module_attach.c  | 40 ++++++++++++++++++-
 .../selftests/bpf/progs/test_module_attach.c  | 14 +++++++
 7 files changed, 101 insertions(+), 6 deletions(-)

-- 
2.29.2


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

end of thread, other threads:[~2021-09-17 14:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 13:55 [PATCH 0/3] add support for writable bare tracepoint Hou Tao
2021-09-16 13:55 ` [PATCH 1/3] bpf: support writable context for " Hou Tao
2021-09-16 23:16   ` Yonghong Song
2021-09-17 13:45     ` Hou Tao
2021-09-17 14:48       ` Yonghong Song
2021-09-16 13:55 ` [PATCH 2/3] libbpf: support detecting and attaching of writable tracepoint program Hou Tao
2021-09-16 23:35   ` Yonghong Song
2021-09-16 13:55 ` [PATCH 3/3] bpf/selftests: add test for writable bare tracepoint Hou Tao
2021-09-16 23:46   ` Yonghong Song
2021-09-17 14:03     ` Hou Tao
2021-09-16 22:58 ` [PATCH 0/3] add support " Yonghong Song

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.