From e636c8d336489bf3eed5878299e6cc045bbad077 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:17:29 +0000
Subject: [PATCH] debug lk
---
kernel/tools/perf/util/intlist.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/tools/perf/util/intlist.h b/kernel/tools/perf/util/intlist.h
index 85bab87..5c19ee0 100644
--- a/kernel/tools/perf/util/intlist.h
+++ b/kernel/tools/perf/util/intlist.h
@@ -45,7 +45,7 @@
/* For intlist iteration */
static inline struct int_node *intlist__first(struct intlist *ilist)
{
- struct rb_node *rn = rb_first(&ilist->rblist.entries);
+ struct rb_node *rn = rb_first_cached(&ilist->rblist.entries);
return rn ? rb_entry(rn, struct int_node, rb_node) : NULL;
}
static inline struct int_node *intlist__next(struct int_node *in)
--
Gitblit v1.6.2