diff options
Diffstat (limited to 'trace-input.c')
-rw-r--r-- | trace-input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trace-input.c b/trace-input.c index 398d0f9..b3dbca3 100644 --- a/trace-input.c +++ b/trace-input.c | |||
@@ -82,6 +82,8 @@ struct tracecmd_input { | |||
82 | int ref; | 82 | int ref; |
83 | struct cpu_data *cpu_data; | 83 | struct cpu_data *cpu_data; |
84 | 84 | ||
85 | struct tracecmd_ftrace finfo; | ||
86 | |||
85 | /* file information */ | 87 | /* file information */ |
86 | size_t header_files_start; | 88 | size_t header_files_start; |
87 | size_t ftrace_files_start; | 89 | size_t ftrace_files_start; |
@@ -1976,7 +1978,7 @@ struct tracecmd_input *tracecmd_alloc_fd(int fd) | |||
1976 | goto failed_read; | 1978 | goto failed_read; |
1977 | 1979 | ||
1978 | /* register default ftrace functions first */ | 1980 | /* register default ftrace functions first */ |
1979 | tracecmd_ftrace_overrides(handle); | 1981 | tracecmd_ftrace_overrides(handle, &handle->finfo); |
1980 | 1982 | ||
1981 | handle->plugin_list = tracecmd_load_plugins(handle->pevent); | 1983 | handle->plugin_list = tracecmd_load_plugins(handle->pevent); |
1982 | 1984 | ||