diff options
Diffstat (limited to 'kernel/trace/trace_probe.h')
| -rw-r--r-- | kernel/trace/trace_probe.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/kernel/trace/trace_probe.h b/kernel/trace/trace_probe.h index 4f815fbce16d..ab283e146b70 100644 --- a/kernel/trace/trace_probe.h +++ b/kernel/trace/trace_probe.h | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | #include <linux/seq_file.h> | 25 | #include <linux/seq_file.h> |
| 26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
| 27 | #include <linux/smp.h> | 27 | #include <linux/smp.h> |
| 28 | #include <linux/debugfs.h> | 28 | #include <linux/tracefs.h> |
| 29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
| 30 | #include <linux/string.h> | 30 | #include <linux/string.h> |
| 31 | #include <linux/ctype.h> | 31 | #include <linux/ctype.h> |
| @@ -229,13 +229,6 @@ ASSIGN_FETCH_FUNC(file_offset, ftype), \ | |||
| 229 | #define FETCH_TYPE_STRING 0 | 229 | #define FETCH_TYPE_STRING 0 |
| 230 | #define FETCH_TYPE_STRSIZE 1 | 230 | #define FETCH_TYPE_STRSIZE 1 |
| 231 | 231 | ||
| 232 | /* | ||
| 233 | * Fetch type information table. | ||
| 234 | * It's declared as a weak symbol due to conditional compilation. | ||
| 235 | */ | ||
| 236 | extern __weak const struct fetch_type kprobes_fetch_type_table[]; | ||
| 237 | extern __weak const struct fetch_type uprobes_fetch_type_table[]; | ||
| 238 | |||
| 239 | #ifdef CONFIG_KPROBE_EVENT | 232 | #ifdef CONFIG_KPROBE_EVENT |
| 240 | struct symbol_cache; | 233 | struct symbol_cache; |
| 241 | unsigned long update_symbol_cache(struct symbol_cache *sc); | 234 | unsigned long update_symbol_cache(struct symbol_cache *sc); |
| @@ -333,7 +326,8 @@ find_event_file_link(struct trace_probe *tp, struct ftrace_event_file *file) | |||
| 333 | } | 326 | } |
| 334 | 327 | ||
| 335 | extern int traceprobe_parse_probe_arg(char *arg, ssize_t *size, | 328 | extern int traceprobe_parse_probe_arg(char *arg, ssize_t *size, |
| 336 | struct probe_arg *parg, bool is_return, bool is_kprobe); | 329 | struct probe_arg *parg, bool is_return, bool is_kprobe, |
| 330 | const struct fetch_type *ftbl); | ||
| 337 | 331 | ||
| 338 | extern int traceprobe_conflict_field_name(const char *name, | 332 | extern int traceprobe_conflict_field_name(const char *name, |
| 339 | struct probe_arg *args, int narg); | 333 | struct probe_arg *args, int narg); |
