diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2025-07-03 13:48:12 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-03 19:30:07 -0700 |
commit | d7c431cafcb4917b0d87b5cd10637cd47b6c8d79 (patch) | |
tree | e4ed1a81bc9e3ef1e595e72d7643e7839cc6f9ec /scripts/lib/kdoc/kdoc_re.py | |
parent | f0c53fd4a742f957da7077a691a85ef9775907dc (diff) |
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions