linux-xiaomi-chiron/tools/include/uapi
Kenny Yu 376040e473 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-24 19:59:27 -08:00
..
asm ia64: tools: remove inclusion of ia64-specific version of errno.h header 2021-04-16 16:10:37 -07:00
asm-generic tools headers UAPI: Sync files changed by new futex_waitv syscall 2021-11-13 18:11:51 -03:00
drm tools headers UAPI: Update tools's copy of drm.h header 2022-01-13 10:56:56 -03:00
linux bpf: Add bpf_copy_from_user_task() helper 2022-01-24 19:59:27 -08:00
sound tools headers UAPI: Sync sound/asound.h with the kernel sources 2021-11-13 18:11:51 -03:00