1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Stage 7 definitions for creating trace events */
9 #undef __print_symbolic
11 #undef __print_hex_str
12 #undef __get_dynamic_array
13 #undef __get_dynamic_array_len
17 #undef __get_rel_dynamic_array
18 #undef __get_rel_dynamic_array_len
20 #undef __get_rel_bitmask
21 #undef __get_rel_sockaddr
23 #undef __print_hex_dump
26 * The below is not executed in the kernel. It is only what is
27 * displayed in the print format for userspace to parse.
29 #undef __print_ns_to_secs
30 #define __print_ns_to_secs(val) (val) / 1000000000UL
32 #undef __print_ns_without_secs
33 #define __print_ns_without_secs(val) (val) % 1000000000UL
36 #define TP_printk(fmt, args...) "\"" fmt "\", " __stringify(args)