From ef278c737f9a393f2d22adf1f1e1e4325d4d190c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 6 Jul 2020 17:26:25 +0200 Subject: pkg/report: use rtnetlink_rcv_msg as stall anchor frame It also hash high branching factor and a bug is more likely in the callback. For the added test we used to say: INFO: rcu detected stall in __sys_sendmsg now we say more useful: INFO: rcu detected stall in tc_modify_qdisc --- pkg/report/linux.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 03d6b72ed..b24d9ae42 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -705,6 +705,7 @@ var linuxStallAnchorFrames = []*regexp.Regexp{ compile("^sock_ioctl"), compile("^compat_sock_ioctl"), compile("^nfnetlink_rcv_msg"), + compile("^rtnetlink_rcv_msg"), compile("^(compat_)?(SYSC|SyS|__sys|___sys|__do_sys|__se_sys|__x64_sys)_(socketpair|connect|ioctl)"), // Page fault entry points: compile("__do_fault"), -- cgit mrf-deployment