aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-09-09 19:19:00 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-09-10 16:19:47 +0200
commitb692332724338ba1034bcef46e3d05ba867d5d41 (patch)
treef1e8d64f400eb0b1b0c58de72f49fe74bd01b5f2 /executor
parent58f18e3f60bc835d73ff566ccdfa3ad36b3b72a8 (diff)
pkg/report: improve rcu stall/lockup reports
During rcu stalls and cpu lockups kernel loops in some part of code, usually across several functions. When the stall is detected, traceback points to a random stack within the looping code. We generally take the top function in the stack (with few exceptions) as the bug identity. As the result stalls with the same root would produce multiple reports in different functions, which is bad. Instead we identify a representative function deeper in the stack. For most syscalls it can be the syscall entry function (e.g. SyS_timer_create). However, for highly discriminated functions syscalls like ioctl/read/write/connect we take the previous function (e.g. for connect the one that points to exact protocol, or for ioctl the one that is related to the device). Fixes #710
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions