bpf: Allow %pB in bpf_seq_printf() and bpf_trace_printk()
authorSong Liu <songliubraving@fb.com>
Tue, 30 Jun 2020 06:28:45 +0000 (23:28 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 1 Jul 2020 15:23:59 +0000 (08:23 -0700)
commit2df6bb5493f83c7e818f66c384ea337c1b3da228
tree75e7a55fc744fe604e282de3be9e7be74468a5e5
parentfa28dcb82a38f8e3993b0fae9106b1a80b59e4f0
bpf: Allow %pB in bpf_seq_printf() and bpf_trace_printk()

This makes it easy to dump stack trace in text.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200630062846.664389-4-songliubraving@fb.com
kernel/trace/bpf_trace.c