From 214bf476d3ae8eb77b04adbc52baeef09a9d6f31 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 9 May 2019 15:04:17 +0200 Subject: pkg/report: improve format of "locking bug" reports --- pkg/report/linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 9910af396..d7053bf00 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -708,6 +708,7 @@ var linuxStackParams = &stackParams{ "lock_acquire", "lock_release", "register_lock_class", + "reacquire_held_locks", "spin_lock", "spin_trylock", "spin_unlock", @@ -1055,7 +1056,7 @@ var linuxOopses = []*oops{ { title: compile("WARNING: .*kernel/locking/lockdep\\.c.*lock_"), fmt: "WARNING: locking bug in %[1]v", - stack: warningStackFmt(), + stack: warningStackFmt("lock_sock", "release_sock"), }, { title: compile("WARNING: lock held when returning to user space"), -- cgit mrf-deployment