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 <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent d16d30f commit 67b61f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)