OSDN Git Service

perf inject: Add --kallsyms parameter
[uclinux-h8/linux.git] / tools / perf / builtin-inject.c
index cf6a605..9a02807 100644 (file)
@@ -439,6 +439,8 @@ int cmd_inject(int argc, const char **argv, const char *prefix __maybe_unused)
                            "where and how long tasks slept"),
                OPT_INCR('v', "verbose", &verbose,
                         "be more verbose (show build ids, etc)"),
+               OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, "file",
+                          "kallsyms pathname"),
                OPT_END()
        };
        const char * const inject_usage[] = {