diff options
author | kib <kib@FreeBSD.org> | 2016-08-27 11:45:05 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-08-27 11:45:05 +0000 |
commit | 2a3105a7da242c365148bc29a1c2dbc970470695 (patch) | |
tree | 2b639840f1ecfd194b87803f61883eb34df37015 /sys/ddb | |
parent | f633fa427aea80172a76a9e1729795495c17c94a (diff) | |
download | FreeBSD-src-2a3105a7da242c365148bc29a1c2dbc970470695.zip FreeBSD-src-2a3105a7da242c365148bc29a1c2dbc970470695.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 efbc8dc..e030f47 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -371,8 +371,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); } |