Sign in
◑
Theme
gdch-oss
/
third_party
/
c8f2b0872f409b3114442b7dafc78f392db69710
/
.
/
runtime
/
linux
/
autoconf-tracepoint-strings.c
blob: 1b4785c8d02035444bb297bbc8f1a4bc3494f2c2 [
file
]
#include
<linux/tracepoint.h>
/* Until 3.15 (commit de7b2973903c), tracepoints used strings to register. */
void
foo
(
void
)
{
(
void
)
tracepoint_probe_register
(
"foo"
,
NULL
,
NULL
);
tracepoint_probe_unregister
(
"foo"
,
NULL
,
NULL
);
}