aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-10-02 14:01:20 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-10-04 10:53:17 +0200
commit7172c3be29dd2772bb7f163c43dce844d5884bf9 (patch)
treecfd93a6c440ab019f4e7d6dc50d1ba8c3e365f79 /pkg/report/linux.go
parent2b1c88827ab90892e2437a0054b16587defe089e (diff)
pkg/report: ignore more refcount/kobject frames
We ignore some of the kobject frames, but there is also kobject_cleanup that we were missing (or maybe was added recently). Make refcount/kobject patterns more robust.
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go12
1 files changed, 3 insertions, 9 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 5626c0569..97986e21f 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -1096,12 +1096,8 @@ var linuxStackParams = &stackParams{
"atomic(64)?_(dec|inc|read|set|or|xor|and|add|sub|fetch|xchg|cmpxchg|try)",
"(set|clear|change|test)_bit",
"__wake_up",
- "refcount_add",
- "refcount_sub",
- "refcount_inc",
- "refcount_dec",
- "refcount_set",
- "refcount_read",
+ "^refcount_",
+ "^kref_",
"ref_tracker",
"seqprop_assert",
"memcpy",
@@ -1163,9 +1159,7 @@ var linuxStackParams = &stackParams{
"destroy_workqueue",
"finish_wait",
"kthread_stop",
- "kobject_del",
- "kobject_put",
- "kobject_uevent_env",
+ "kobject_",
"add_uevent_var",
"get_device_parent",
"device_add",