diff options
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 814158393656..25c81734a950 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -324,8 +324,9 @@ int cmd_annotate(int argc, const char **argv, const char *prefix __maybe_unused) | |||
324 | OPT_BOOLEAN(0, "skip-missing", &annotate.skip_missing, | 324 | OPT_BOOLEAN(0, "skip-missing", &annotate.skip_missing, |
325 | "Skip symbols that cannot be annotated"), | 325 | "Skip symbols that cannot be annotated"), |
326 | OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), | 326 | OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), |
327 | OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", | 327 | OPT_CALLBACK(0, "symfs", NULL, "directory", |
328 | "Look for files with symbols relative to this directory"), | 328 | "Look for files with symbols relative to this directory", |
329 | symbol__config_symfs), | ||
329 | OPT_BOOLEAN(0, "source", &symbol_conf.annotate_src, | 330 | OPT_BOOLEAN(0, "source", &symbol_conf.annotate_src, |
330 | "Interleave source code with assembly code (default)"), | 331 | "Interleave source code with assembly code (default)"), |
331 | OPT_BOOLEAN(0, "asm-raw", &symbol_conf.annotate_asm_raw, | 332 | OPT_BOOLEAN(0, "asm-raw", &symbol_conf.annotate_asm_raw, |