Skip to content

Commit 67b61f5

Browse files
namhyungacmel
authored andcommitted
perf lock: Add --synth=no option for record
The perf lock command has nothing to symbolize and lock names come from the tracepoint. Moreover, kernel symbols are available even the --synth=no option is given. This will reduce the startup time by avoiding unnecessary synthesis. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20220323230259.288494-1-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent d16d30f commit 67b61f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/builtin-lock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ static int __cmd_report(bool display_info)
990990
static int __cmd_record(int argc, const char **argv)
991991
{
992992
const char *record_args[] = {
993-
"record", "-R", "-m", "1024", "-c", "1",
993+
"record", "-R", "-m", "1024", "-c", "1", "--synth", "no",
994994
};
995995
unsigned int rec_argc, i, j, ret;
996996
const char **rec_argv;

0 commit comments

Comments
 (0)