diff options
-rw-r--r-- | tools/perf/builtin-evlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-evlist.c b/tools/perf/builtin-evlist.c index e52d77ec7084..acd78dc28341 100644 --- a/tools/perf/builtin-evlist.c +++ b/tools/perf/builtin-evlist.c | |||
@@ -116,7 +116,7 @@ static const char * const evlist_usage[] = { | |||
116 | int cmd_evlist(int argc, const char **argv, const char *prefix __used) | 116 | int cmd_evlist(int argc, const char **argv, const char *prefix __used) |
117 | { | 117 | { |
118 | struct perf_attr_details details = { .verbose = false, }; | 118 | struct perf_attr_details details = { .verbose = false, }; |
119 | const char *input_name; | 119 | const char *input_name = NULL; |
120 | const struct option options[] = { | 120 | const struct option options[] = { |
121 | OPT_STRING('i', "input", &input_name, "file", | 121 | OPT_STRING('i', "input", &input_name, "file", |
122 | "Input file name"), | 122 | "Input file name"), |