aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan Can <[email protected]>2022-09-27 01:39:31 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-10-06 08:03:52 -0300
commit20b2194eeee3ff8df8f2bbf7631e7278fced404a (patch)
tree57fd6e9fc0335af44fccd0933f0d84ef2e4abb9a
parentd28a8fd3c0f82c29dec7225a2e33f3801d9ec026 (diff)
perf lock: Remove unused struct lock_contention_key
The struct lock_contention_key is never used, remove it. Signed-off-by: Yuan Can <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/linux-perf-users/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/util/bpf_lock_contention.c5
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;