|
@@ -324,8 +324,9 @@ int cmd_annotate(int argc, const char **argv, const char *prefix __maybe_unused)
|
|
OPT_BOOLEAN(0, "skip-missing", &annotate.skip_missing,
|
|
OPT_BOOLEAN(0, "skip-missing", &annotate.skip_missing,
|
|
"Skip symbols that cannot be annotated"),
|
|
"Skip symbols that cannot be annotated"),
|
|
OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"),
|
|
OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"),
|
|
- OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory",
|
|
|
|
- "Look for files with symbols relative to this directory"),
|
|
|
|
|
|
+ OPT_CALLBACK(0, "symfs", NULL, "directory",
|
|
|
|
+ "Look for files with symbols relative to this directory",
|
|
|
|
+ symbol__config_symfs),
|
|
OPT_BOOLEAN(0, "source", &symbol_conf.annotate_src,
|
|
OPT_BOOLEAN(0, "source", &symbol_conf.annotate_src,
|
|
"Interleave source code with assembly code (default)"),
|
|
"Interleave source code with assembly code (default)"),
|
|
OPT_BOOLEAN(0, "asm-raw", &symbol_conf.annotate_asm_raw,
|
|
OPT_BOOLEAN(0, "asm-raw", &symbol_conf.annotate_asm_raw,
|