perf lock: Add --synth=no option for record
authorNamhyung Kim <namhyung@kernel.org>
Wed, 23 Mar 2022 23:02:57 +0000 (16:02 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 Mar 2022 18:24:03 +0000 (15:24 -0300)
commit67b61f59a620450738caf69552efa85faa9637f9
tree6f21f803b2b6bf8746b830614416d5acc9d9fb6d
parentd16d30f48c1ca3051115e5093934263e84dc1390
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>
tools/perf/builtin-lock.c