summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2023-12-07 02:46:55 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-01-03 21:54:54 +0100
commit9c51f8788b5d4e9f46afbcf563255cfd355690b3 (patch)
tree573d20cc7b23f03374165ffd9f0c6597c4c7d1a8 /certs
parentperf annotate: Add --insn-stat option for debugging (diff)
downloadlinux-9c51f8788b5d4e9f46afbcf563255cfd355690b3.tar.xz
linux-9c51f8788b5d4e9f46afbcf563255cfd355690b3.zip
perf env: Avoid recursively taking env->bpf_progs.lock
Add variants of perf_env__insert_bpf_prog_info(), perf_env__insert_btf() and perf_env__find_btf prefixed with __ to indicate the env->bpf_progs.lock is assumed held. Call these variants when the lock is held to avoid recursively taking it and potentially having a thread deadlock with itself. Fixes: f8dfeae009effc0b ("perf bpf: Show more BPF program info in print_bpf_prog_info()") Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Song Liu <song@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Huacai Chen <chenhuacai@kernel.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: K Prateek Nayak <kprateek.nayak@amd.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ming Wang <wangming01@loongson.cn> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Link: https://lore.kernel.org/r/20231207014655.1252484-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions