Debian Codegraph @

runtime/linux/autoconf-tracepoint-strings.c

raw
1 #include <linux/tracepoint.h>
2
3 /* Until 3.15 (commit de7b2973903c), tracepoints used strings to register. */
4 void foo (void);
5 void foo (void) {
6 (void) tracepoint_probe_register("foo", NULL, NULL);
7 tracepoint_probe_unregister("foo", NULL, NULL);
8 }