]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
trace: add variant without spacing in trace_print_hex_seq
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 25 Jan 2017 01:28:16 +0000 (02:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2017 18:17:47 +0000 (13:17 -0500)
commit2acae0d5b0f73a8fb4b180bd13491feb96e55fc6
tree2446a003c916ffd69a70a4ec167848c67aa2305b
parent60b1af3300724d211bb0b420c1fbe6bf5b87b013
trace: add variant without spacing in trace_print_hex_seq

For upcoming tracepoint support for BPF, we want to dump the program's
tag. Format should be similar to __print_hex(), but without spacing.
Add a __print_hex_str() variant for exactly that purpose that reuses
trace_print_hex_seq().

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/trace_events.h
include/trace/trace_events.h
kernel/trace/trace_output.c