aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-01-17 09:32:29 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-01-17 10:50:43 +0100
commit813be5426a31b5b3ead90cf5729c8b7a7a17d7c1 (patch)
tree9e53ba68104ce536ae5c6f1ce2418a0272be96e2 /pkg/report/linux.go
parent65a7a8540d29e72622fca06522587f7e66539fd3 (diff)
pkg/report: skip all kmalloc/kcalloc frames
Initially I tried to skip kmalloc frames more carefully to report proper test names in KASAN tests (338, 340). But as the result we badly parsed a real report, while nobody cares much about how we parse KASAN tests that happen to contain "kmalloc" in test function name. Skip all kmalloc frames now.
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 76722ca83..8aed7d4f4 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -757,9 +757,8 @@ var linuxStackParams = &stackParams{
"warn_alloc",
"__warn",
"alloc_pages",
- "kmalloc_order",
- "__kmalloc",
- "kmalloc$",
+ "kmalloc",
+ "kcalloc",
"debug_object",
"timer_is_static_object",
"work_is_static_object",