summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpfile.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-04-25 20:28:17 +0000
committerjhb <jhb@FreeBSD.org>2006-04-25 20:28:17 +0000
commit0b071af54713f86b1c58a4860f759f358c7cb8c6 (patch)
tree65dbc74230acd8c9fe633aa1be6061800a2a9e77 /lib/libc/stdio/tmpfile.c
parent9a8083cd6c7387ec362c8e5c7b7810bf7c642554 (diff)
downloadFreeBSD-src-0b071af54713f86b1c58a4860f759f358c7cb8c6.zip
FreeBSD-src-0b071af54713f86b1c58a4860f759f358c7cb8c6.tar.gz
Add some new commands to hopefully make it easier to diagnose lock-related
problems in ddb: - "show threadchain [thread]" will start with the specified thread (or the current kdb thread by default) and show it's state. If it is blocked on a lock, it will find the owner of the lock and show its state, etc. - "show allchains" will find all of the threads that are blocked on a lock (but do not have any threads blocked on a lock they hold) and show the resulting thread chain. - "show lockchain <lock>" takes a pointer to a lock_object (such as a mutex or rwlock). If there is a turnstile for that lock, then it will display all the threads blocked on the lock. In addition, for each thread blocked on the lock, it will display any contested locks they hold, and recurse on those locks to show any threads blocked on those locks, etc.
Diffstat (limited to 'lib/libc/stdio/tmpfile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud