third_party_libbpf/include/uapi/linux
Kenny Yu a9491bb920 bpf: Add bpf_copy_from_user_task() helper
This adds a helper for bpf programs to read the memory of other
tasks.

As an example use case at Meta, we are using a bpf task iterator program
and this new helper to print C++ async stack traces for all threads of
a given process.

Signed-off-by: Kenny Yu <kennyyu@fb.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220124185403.468466-3-kennyyu@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-01-25 23:37:04 -08:00
..
bpf_common.h mirror uapi/linux/bpf_common.h file (#2) 2018-10-12 12:57:55 -07:00
bpf.h bpf: Add bpf_copy_from_user_task() helper 2022-01-25 23:37:04 -08:00
btf.h bpf: Support BTF_KIND_TYPE_TAG for btf_type_tag attributes 2021-11-12 23:46:09 -08:00
if_link.h gro: add ability to control gro max packet size 2022-01-14 22:08:26 -08:00
if_xdp.h xsk: Add new statistics 2020-07-28 14:03:17 -07:00
netlink.h sync with latest bpf-next (#6) 2019-01-03 12:44:33 -08:00
perf_event.h perf: Add new macros for mem_hops field 2022-01-25 23:37:04 -08:00
pkt_cls.h include: initial sync of pkt_cls.h and pkt_sched.h 2021-07-16 14:22:07 -07:00
pkt_sched.h include: initial sync of pkt_cls.h and pkt_sched.h 2021-07-16 14:22:07 -07:00