diff options
author | Yuan Can <yuancan@huawei.com> | 2022-09-27 03:39:31 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-06 13:03:52 +0200 |
commit | 20b2194eeee3ff8df8f2bbf7631e7278fced404a (patch) | |
tree | 57fd6e9fc0335af44fccd0933f0d84ef2e4abb9a /tools/perf/util/bpf_lock_contention.c | |
parent | perf jit: Remove unused struct debug_line_info (diff) | |
download | linux-20b2194eeee3ff8df8f2bbf7631e7278fced404a.tar.xz linux-20b2194eeee3ff8df8f2bbf7631e7278fced404a.zip |
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>
Diffstat (limited to 'tools/perf/util/bpf_lock_contention.c')
-rw-r--r-- | tools/perf/util/bpf_lock_contention.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/util/bpf_lock_contention.c b/tools/perf/util/bpf_lock_contention.c index efe5b9968e77..fc4d613cb979 100644 --- a/tools/perf/util/bpf_lock_contention.c +++ b/tools/perf/util/bpf_lock_contention.c @@ -15,11 +15,6 @@ static struct lock_contention_bpf *skel; -/* should be same as bpf_skel/lock_contention.bpf.c */ -struct lock_contention_key { - s32 stack_id; -}; - struct lock_contention_data { u64 total_time; u64 min_time; |