diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ftrace_event.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index f7b47c336703..43360c1d8f70 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h | |||
| @@ -137,8 +137,13 @@ struct ftrace_event_call { | |||
| 137 | 137 | ||
| 138 | #define FTRACE_MAX_PROFILE_SIZE 2048 | 138 | #define FTRACE_MAX_PROFILE_SIZE 2048 |
| 139 | 139 | ||
| 140 | extern char *trace_profile_buf; | 140 | struct perf_trace_buf { |
| 141 | extern char *trace_profile_buf_nmi; | 141 | char buf[FTRACE_MAX_PROFILE_SIZE]; |
| 142 | int recursion; | ||
| 143 | }; | ||
| 144 | |||
| 145 | extern struct perf_trace_buf *perf_trace_buf; | ||
| 146 | extern struct perf_trace_buf *perf_trace_buf_nmi; | ||
| 142 | 147 | ||
| 143 | #define MAX_FILTER_PRED 32 | 148 | #define MAX_FILTER_PRED 32 |
| 144 | #define MAX_FILTER_STR_VAL 256 /* Should handle KSYM_SYMBOL_LEN */ | 149 | #define MAX_FILTER_STR_VAL 256 /* Should handle KSYM_SYMBOL_LEN */ |
