tracing: Fix __print_hex_dump scope
authorPiotr Maziarz <piotrx.maziarz@linux.intel.com>
Tue, 26 Nov 2019 10:06:31 +0000 (11:06 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 26 Nov 2019 18:20:51 +0000 (13:20 -0500)
undef is needed for parsing __print_hex_dump in traceevent lib.

Link: http://lkml.kernel.org/r/1574762791-14883-1-git-send-email-piotrx.maziarz@linux.intel.com
Signed-off-by: Piotr Maziarz <piotrx.maziarz@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/trace/trace_events.h

index 7089760d4c7a81d907c3287541f83a0bafdde4be..472b33d23a10ea628b1d22ff2ea9f901460e269f 100644 (file)
@@ -757,6 +757,7 @@ static inline void ftrace_test_probe_##call(void)                   \
 #undef __get_str
 #undef __get_bitmask
 #undef __print_array
+#undef __print_hex_dump
 
 #undef TP_printk
 #define TP_printk(fmt, args...) "\"" fmt "\", "  __stringify(args)