Files
linux-stable-mirror/include/linux
Kumar Kartikeya Dwivedi d7c431cafc bpf: Add dump_stack() analogue to print to BPF stderr
Introduce a kernel function which is the analogue of dump_stack()
printing some useful information and the stack trace. This is not
exposed to BPF programs yet, but can be made available in the future.

When we have a program counter for a BPF program in the stack trace,
also additionally output the filename and line number to make the trace
helpful. The rest of the trace can be passed into ./decode_stacktrace.sh
to obtain the line numbers for kernel symbols.

Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250703204818.925464-7-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2025-07-03 19:30:07 -07:00
..
2025-06-25 15:15:49 -07:00
2025-05-21 13:41:03 +02:00
2025-05-21 13:39:45 +02:00
2025-05-20 05:34:27 +02:00
2025-05-15 20:24:40 +02:00
2025-05-22 11:07:05 +02:00
2025-06-17 14:29:19 +02:00
2025-06-11 11:57:14 -07:00
2025-06-04 09:51:10 +02:00
2025-05-21 16:46:37 +02:00
2025-06-25 15:12:17 -07:00
2025-05-15 04:49:15 +03:00
2025-06-26 09:44:45 -07:00