Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf lock: Remove unused struct lock_contention_key

The struct lock_contention_key is never used, remove it.

Signed-off-by: Yuan Can <yuancan@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/linux-perf-users/20220927013931.110475-6-yuancan@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Yuan Can and committed by
Arnaldo Carvalho de Melo
20b2194e d28a8fd3

-5
-5
tools/perf/util/bpf_lock_contention.c
··· 15 15 16 16 static struct lock_contention_bpf *skel; 17 17 18 - /* should be same as bpf_skel/lock_contention.bpf.c */ 19 - struct lock_contention_key { 20 - s32 stack_id; 21 - }; 22 - 23 18 struct lock_contention_data { 24 19 u64 total_time; 25 20 u64 min_time;