diff options
author | jhb <jhb@FreeBSD.org> | 2001-07-03 07:39:06 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-07-03 07:39:06 +0000 |
commit | d5b88d12934a97fb08c692d36246cb70c2a8464b (patch) | |
tree | 77d61b21c2a3446a67e74c57f0d687f607a23433 | |
parent | 34ed38abdcda539c52735648d8150003f0e12a28 (diff) | |
download | FreeBSD-src-d5b88d12934a97fb08c692d36246cb70c2a8464b.zip FreeBSD-src-d5b88d12934a97fb08c692d36246cb70c2a8464b.tar.gz |
Include the wait message and channel for msleep() in the KTR tracepoint.
-rw-r--r-- | sys/kern/kern_synch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 344719d..670b797 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -425,7 +425,8 @@ msleep(ident, mtx, priority, wmesg, timo) p->p_wmesg = wmesg; p->p_slptime = 0; p->p_pri.pri_level = priority & PRIMASK; - CTR3(KTR_PROC, "msleep: proc %p (pid %d, %s)", p, p->p_pid, p->p_comm); + CTR5(KTR_PROC, "msleep: proc %p (pid %d, %s) on %s (%p)", p, p->p_pid, + p->p_comm, wmesg, ident); TAILQ_INSERT_TAIL(&slpque[LOOKUP(ident)], p, p_slpq); if (timo) callout_reset(&p->p_slpcallout, timo, endtsleep, p); |