From 813be5426a31b5b3ead90cf5729c8b7a7a17d7c1 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 17 Jan 2021 09:32:29 +0100 Subject: 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. --- pkg/report/linux.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkg/report/linux.go') 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", -- cgit mrf-deployment