diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-30 09:16:57 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-30 09:16:57 -0300 |
commit | 39fd693a18f8ef73b1268f2321393d5ca6101e89 (patch) | |
tree | b1bae394d01f4c868d315c2d7a2f7f7f0539a57b /sys/ddb/db_ps.c | |
parent | 29ebd1247162a77db08e5e2e00d033220ec807fe (diff) | |
parent | de43eec3e10416a7e9f3a7565f70e1ba2d265384 (diff) | |
download | FreeBSD-src-39fd693a18f8ef73b1268f2321393d5ca6101e89.zip FreeBSD-src-39fd693a18f8ef73b1268f2321393d5ca6101e89.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/ddb/db_ps.c')
-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); } |