summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2017-07-02 02:13:29 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-03 11:22:52 +0200
commit7bda4b40c5624c3f1c69227f8ebfd46a4b83f2ef (patch)
tree6d64dd07567eaa2992d1982c70bd1322354461e3 /kernel/trace/ftrace.c
parentbpf: export whether tail call has jited owner (diff)
downloadlinux-7bda4b40c5624c3f1c69227f8ebfd46a4b83f2ef.tar.xz
linux-7bda4b40c5624c3f1c69227f8ebfd46a4b83f2ef.zip
bpf: extend bpf_trace_printk to support %i
Currently, bpf_trace_printk does not support common formatting symbol '%i' however vsprintf does and is what eventually gets called by bpf helper. If users are used to '%i' and currently make use of it, then bpf_trace_printk will just return with error without dumping anything to the trace pipe, so just add support for '%i' to the helper. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/trace/ftrace.c')
0 files changed, 0 insertions, 0 deletions