diff options
Diffstat (limited to 'tools/perf/util/trace-event-parse.c')
-rw-r--r-- | tools/perf/util/trace-event-parse.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index 4454835a9ebc..e9e1c03f927d 100644 --- a/tools/perf/util/trace-event-parse.c +++ b/tools/perf/util/trace-event-parse.c | |||
@@ -28,12 +28,6 @@ | |||
28 | #include "util.h" | 28 | #include "util.h" |
29 | #include "trace-event.h" | 29 | #include "trace-event.h" |
30 | 30 | ||
31 | int header_page_size_size; | ||
32 | int header_page_ts_size; | ||
33 | int header_page_data_offset; | ||
34 | |||
35 | bool latency_format; | ||
36 | |||
37 | struct pevent *read_trace_init(int file_bigendian, int host_bigendian) | 31 | struct pevent *read_trace_init(int file_bigendian, int host_bigendian) |
38 | { | 32 | { |
39 | struct pevent *pevent = pevent_alloc(); | 33 | struct pevent *pevent = pevent_alloc(); |
@@ -192,7 +186,7 @@ void parse_proc_kallsyms(struct pevent *pevent, | |||
192 | char *next = NULL; | 186 | char *next = NULL; |
193 | char *addr_str; | 187 | char *addr_str; |
194 | char *mod; | 188 | char *mod; |
195 | char *fmt; | 189 | char *fmt = NULL; |
196 | 190 | ||
197 | line = strtok_r(file, "\n", &next); | 191 | line = strtok_r(file, "\n", &next); |
198 | while (line) { | 192 | while (line) { |