diff options
Diffstat (limited to 'include/linux/tracepoint.h')
| -rw-r--r-- | include/linux/tracepoint.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index c72851328ca9..a5f7f3ecafa3 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h | |||
| @@ -36,6 +36,12 @@ struct tracepoint { | |||
| 36 | struct tracepoint_func __rcu *funcs; | 36 | struct tracepoint_func __rcu *funcs; |
| 37 | }; | 37 | }; |
| 38 | 38 | ||
| 39 | struct trace_enum_map { | ||
| 40 | const char *system; | ||
| 41 | const char *enum_string; | ||
| 42 | unsigned long enum_value; | ||
| 43 | }; | ||
| 44 | |||
| 39 | extern int | 45 | extern int |
| 40 | tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data); | 46 | tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data); |
| 41 | extern int | 47 | extern int |
| @@ -87,6 +93,8 @@ extern void syscall_unregfunc(void); | |||
| 87 | 93 | ||
| 88 | #define PARAMS(args...) args | 94 | #define PARAMS(args...) args |
| 89 | 95 | ||
| 96 | #define TRACE_DEFINE_ENUM(x) | ||
| 97 | |||
| 90 | #endif /* _LINUX_TRACEPOINT_H */ | 98 | #endif /* _LINUX_TRACEPOINT_H */ |
| 91 | 99 | ||
| 92 | /* | 100 | /* |
