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
..
2022-01-12 11:27:57 -08:00
2022-01-16 15:53:00 +02:00
2022-01-16 16:15:14 +02:00
2022-01-14 14:37:34 +01:00
2022-01-10 19:06:09 -08:00
2022-01-10 14:33:42 +01:00
2022-01-12 16:42:00 -08:00