From 8cb74972a66bde0af7b1a957d01e0095b82a8b91 Mon Sep 17 00:00:00 2001 From: Jonathan Haslam Date: Mon, 20 Apr 2009 07:58:44 +0100 Subject: 6806023 cpc provider event name validation needs to be a bit tighter 6806674 dcpc scares me on an older machine 6812495 plockstat's mutex-spun probe is under specified when used in libc 6812487 chkargs argument processing needs tightening up 6819008 i_Pobject_iter() needs to update mappings more often to avoid bogus prmap_t usage 6690027 incorrect instruction mask used in SPARC dtrace_getpcstack 6820546 tst.FunctionLookup.ksh fails owing to callout changes 6820554 baddof core dumps when no input file is specified 6822482 DOF validation needs to handle loadable sections flagged as unloadable --- usr/src/lib/libc/port/threads/synch.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr/src/lib/libc') diff --git a/usr/src/lib/libc/port/threads/synch.c b/usr/src/lib/libc/port/threads/synch.c index 0835b00d5f..91b4e960f8 100644 --- a/usr/src/lib/libc/port/threads/synch.c +++ b/usr/src/lib/libc/port/threads/synch.c @@ -1380,14 +1380,14 @@ done: if (error) { if (count) { - DTRACE_PROBE2(plockstat, mutex__spun, 0, count); + DTRACE_PROBE3(plockstat, mutex__spun, mp, 0, count); } if (error != EBUSY) { DTRACE_PROBE2(plockstat, mutex__error, mp, error); } } else { if (count) { - DTRACE_PROBE2(plockstat, mutex__spun, 1, count); + DTRACE_PROBE3(plockstat, mutex__spun, mp, 1, count); } DTRACE_PROBE3(plockstat, mutex__acquire, mp, 0, count); if (mp->mutex_flag & LOCK_OWNERDEAD) { @@ -1587,14 +1587,14 @@ done: if (error) { if (count) { - DTRACE_PROBE2(plockstat, mutex__spun, 0, count); + DTRACE_PROBE3(plockstat, mutex__spun, mp, 0, count); } if (error != EBUSY) { DTRACE_PROBE2(plockstat, mutex__error, mp, error); } } else { if (count) { - DTRACE_PROBE2(plockstat, mutex__spun, 1, count); + DTRACE_PROBE3(plockstat, mutex__spun, mp, 1, count); } DTRACE_PROBE3(plockstat, mutex__acquire, mp, 0, count); if (mp->mutex_flag & (LOCK_OWNERDEAD | LOCK_UNMAPPED)) { @@ -2935,7 +2935,7 @@ pthread_spin_lock(pthread_spinlock_t *lock) mp->mutex_ownerpid = self->ul_uberdata->pid; preempt(self); if (count) { - DTRACE_PROBE2(plockstat, mutex__spun, 1, count); + DTRACE_PROBE3(plockstat, mutex__spun, mp, 1, count); } DTRACE_PROBE3(plockstat, mutex__acquire, mp, 0, count); return (0); -- cgit v1.2.3