This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/16493] New: Improve bkl.stp to add backtrace and timeout
- From: "jcastillo at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 22 Jan 2014 10:46:34 +0000
- Subject: [Bug testsuite/16493] New: Improve bkl.stp to add backtrace and timeout
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16493
Bug ID: 16493
Summary: Improve bkl.stp to add backtrace and timeout
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
Assignee: systemtap at sourceware dot org
Reporter: jcastillo at redhat dot com
Created attachment 7366
--> https://sourceware.org/bugzilla/attachment.cgi?id=7366&action=edit
Proposed patch
Hello,
Most of the times, when we use bkl.stp to investigate BKL issues, we've found
useful to have the backtrace of the function that holds the BKL.
The patch attached adds a new command line option, "backtrace=N", that when
used enables the use of print_backtrace(). The value of <N>, if present, is
taken as useconds, and it is the limit of time the task or tasks have been
waiting to acquire the lock i.e.:
# stap blk.stp backtrace=100
That would enable printing of backtrace on all tasks holding the kernel
big lock for more than 100us.
--
You are receiving this mail because:
You are the assignee for the bug.