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
18 #undef __get_rel_dynamic_array
19 #undef __get_rel_dynamic_array_len
21 #undef __get_rel_bitmask
22 #undef __get_rel_cpumask
23 #undef __get_rel_sockaddr
25 #undef __print_hex_dump
29 * The below is not executed in the kernel. It is only what is
30 * displayed in the print format for userspace to parse.
32 #undef __print_ns_to_secs
33 #define __print_ns_to_secs(val) (val) / 1000000000UL
35 #undef __print_ns_without_secs
36 #define __print_ns_without_secs(val) (val) % 1000000000UL
39 #define TP_printk(fmt, args...) "\"" fmt "\", " __stringify(args)