summaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2016-01-29 10:22:41 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-17 12:30:57 -0800
commitbf46aa7ec7417cab8b4402dc8117e17af54f5d8e (patch)
treedde103f123bad8bce63ec5bd7628c705991427c5 /lib/timerqueue.c
parentcc6d98006b1a713abaa8852de02a3c6f7ce62941 (diff)
downloadtalos-op-linux-bf46aa7ec7417cab8b4402dc8117e17af54f5d8e.tar.gz
talos-op-linux-bf46aa7ec7417cab8b4402dc8117e17af54f5d8e.zip
tracing/stacktrace: Show entire trace if passed in function not found
commit 6ccd83714a009ee301b50c15f6c3a5dc1f30164c upstream. When a max stack trace is discovered, the stack dump is saved. In order to not record the overhead of the stack tracer, the ip of the traced function is looked for within the dump. The trace is started from the location of that function. But if for some reason the ip is not found, the entire stack trace is then truncated. That's not very useful. Instead, print everything if the ip of the traced function is not found within the trace. This issue showed up on s390. Link: http://lkml.kernel.org/r/20160129102241.1b3c9c04@gandalf.local.home Fixes: 72ac426a5bb0 ("tracing: Clean up stack tracing and fix fentry updates") Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Tested-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud