diff options
Diffstat (limited to 'trace-read.c')
-rw-r--r-- | trace-read.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trace-read.c b/trace-read.c index b6b233c..e875189 100644 --- a/trace-read.c +++ b/trace-read.c | |||
@@ -38,8 +38,8 @@ | |||
38 | 38 | ||
39 | #include "trace-local.h" | 39 | #include "trace-local.h" |
40 | 40 | ||
41 | unsigned int page_size; | 41 | static unsigned int page_size; |
42 | int input_fd; | 42 | static int input_fd; |
43 | const char *input_file = "trace.dat"; | 43 | const char *input_file = "trace.dat"; |
44 | 44 | ||
45 | static int filter_cpu = -1; | 45 | static int filter_cpu = -1; |
@@ -276,7 +276,7 @@ struct tracecmd_input *read_trace_header(void) | |||
276 | if (input_fd < 0) | 276 | if (input_fd < 0) |
277 | die("opening '%s'\n", input_file); | 277 | die("opening '%s'\n", input_file); |
278 | 278 | ||
279 | return tracecmd_open(input_fd); | 279 | return tracecmd_open_fd(input_fd); |
280 | } | 280 | } |
281 | 281 | ||
282 | void trace_report (int argc, char **argv) | 282 | void trace_report (int argc, char **argv) |