From faae2fdada12b98e508bcf76fef1fe1aa5f5183b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 24 Oct 2022 09:36:38 +0200 Subject: pkg/report: parse stack in "inconsistent lock state" reports We took the exact top frame for these reports. As the result the frame filtering logic wasn't working and some bugs were attributed to very common functions like _atomic_dec_and_lock/kmem_cache_alloc_node. Parse the full stack instead. --- pkg/report/testdata/linux/report/543 | 2 +- pkg/report/testdata/linux/report/665 | 2 +- pkg/report/testdata/linux/report/669 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/report/testdata/linux') diff --git a/pkg/report/testdata/linux/report/543 b/pkg/report/testdata/linux/report/543 index 6e5fd2c55..6c134895b 100644 --- a/pkg/report/testdata/linux/report/543 +++ b/pkg/report/testdata/linux/report/543 @@ -1,4 +1,4 @@ -TITLE: inconsistent lock state in vprintk_emit +TITLE: inconsistent lock state in bad_mode [ 0.000000][ C0] ================================ [ 0.000000][ C0] WARNING: inconsistent lock state diff --git a/pkg/report/testdata/linux/report/665 b/pkg/report/testdata/linux/report/665 index 37d13f56f..29f072c98 100644 --- a/pkg/report/testdata/linux/report/665 +++ b/pkg/report/testdata/linux/report/665 @@ -1,4 +1,4 @@ -TITLE: inconsistent lock state in _atomic_dec_and_lock +TITLE: inconsistent lock state in ntfs_fill_super [ 1336.868665][ T9712] ================================ [ 1336.869886][ T9712] WARNING: inconsistent lock state diff --git a/pkg/report/testdata/linux/report/669 b/pkg/report/testdata/linux/report/669 index cd24cad68..5e45d188d 100644 --- a/pkg/report/testdata/linux/report/669 +++ b/pkg/report/testdata/linux/report/669 @@ -1,4 +1,4 @@ -TITLE: inconsistent lock state in kmem_cache_alloc_node +TITLE: inconsistent lock state in fs_reclaim_acquire [ 860.112634][ C1] ================================ [ 860.117823][ C1] WARNING: inconsistent lock state -- cgit mrf-deployment