aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-05-04 09:06:49 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-05-04 09:33:43 +0200
commit39f94310de74ebe439655675d5a6d2003adbec86 (patch)
tree9b1dd877dd40f5632dd3c8c56f0be0ee6c40d0e1 /pkg/report/linux.go
parent09efdd63fa8ebdadeccc841b699026e73081f7e0 (diff)
pkg/report: skip kmem_cache_* in reports
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index de3c7c18f..e3003439d 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -766,6 +766,8 @@ var linuxStackParams = &stackParams{
"kcalloc",
"kzalloc",
"krealloc",
+ "kmem_cache",
+ "slab_",
"debug_object",
"timer_is_static_object",
"work_is_static_object",
@@ -983,7 +985,7 @@ var linuxOopses = append([]*oops{
linuxCallTrace,
parseStackTrace,
},
- skip: []string{"kmem_", "slab_", "kfree", "vunmap", "vfree"},
+ skip: []string{"slab_", "kfree", "vunmap", "vfree"},
},
},
{
@@ -1277,7 +1279,7 @@ var linuxOopses = append([]*oops{
fmt: "WARNING: ODEBUG bug in %[1]v",
// Skip all users of ODEBUG as well.
stack: warningStackFmt("debug_", "rcu", "hrtimer_", "timer_",
- "work_", "percpu_", "kmem_", "slab_", "kfree", "vunmap",
+ "work_", "percpu_", "vunmap",
"vfree", "__free_", "debug_check", "kobject_"),
},
{