Skip to content
Commit 376040e4 authored by Kenny Yu's avatar Kenny Yu Committed by Alexei Starovoitov
Browse files

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: default avatarKenny Yu <kennyyu@fb.com>
Acked-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220124185403.468466-3-kennyyu@fb.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent b77fb25d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment