perf lock contention: Fix to save callstack for the default modified
authorNamhyung Kim <namhyung@kernel.org>
Tue, 7 Feb 2023 00:24:01 +0000 (16:24 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Feb 2023 13:33:02 +0000 (10:33 -0300)
commit55e391852e713f85af4e724443f929b3ce5b5dbe
tree0ffc54da55876fd7eb21d34908e13a74016a8e2b
parent34266f904abd45731bdade2e92d0536c092ee9bc
perf lock contention: Fix to save callstack for the default modified

The previous change missed to set the con->save_callstack for the
LOCK_AGGR_CALLER mode resulting in no caller information.

Fixes: ebab291641bed48f ("perf lock contention: Support filters for different aggregation")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Hao Luo <haoluo@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <song@kernel.org>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will@kernel.org>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20230207002403.63590-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-lock.c