diff options
author | kib <kib@FreeBSD.org> | 2016-08-27 09:23:20 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-08-27 09:23:20 +0000 |
commit | 82bfa7f4de819264453641e3d8bf043bf9ee4702 (patch) | |
tree | 7206afbc7a60adc13dda653298edde984dbfd9dd /sys/ddb | |
parent | ed68073bb22032c818288c2901d4921776234a04 (diff) | |
download | FreeBSD-src-82bfa7f4de819264453641e3d8bf043bf9ee4702.zip FreeBSD-src-82bfa7f4de819264453641e3d8bf043bf9ee4702.tar.gz |
MFC r303426:
Rewrite subr_sleepqueue.c use of callouts to not depend on the
specifics of callout KPI.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_ps.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c index e20b363..ab375d5 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -375,8 +375,13 @@ DB_SHOW_COMMAND(thread, db_show_thread) db_printf(" lock: %s turnstile: %p\n", td->td_lockname, td->td_blocked); if (TD_ON_SLEEPQ(td)) - db_printf(" wmesg: %s wchan: %p\n", td->td_wmesg, - td->td_wchan); + db_printf( + " wmesg: %s wchan: %p sleeptimo %lx. %jx (curr %lx. %jx)\n", + td->td_wmesg, td->td_wchan, + (long)sbttobt(td->td_sleeptimo).sec, + (uintmax_t)sbttobt(td->td_sleeptimo).frac, + (long)sbttobt(sbinuptime()).sec, + (uintmax_t)sbttobt(sbinuptime()).frac); db_printf(" priority: %d\n", td->td_priority); db_printf(" container lock: %s (%p)\n", lock->lo_name, lock); if (td->td_swvoltick != 0) { |