diff options
author | Jonathan Haslam <Jonathan.Haslam@Sun.COM> | 2009-04-20 07:58:44 +0100 |
---|---|---|
committer | Jonathan Haslam <Jonathan.Haslam@Sun.COM> | 2009-04-20 07:58:44 +0100 |
commit | 8cb74972a66bde0af7b1a957d01e0095b82a8b91 (patch) | |
tree | aa4efc70c2cab5c167726c3c052bf008736e7dd0 /usr/src/lib/libc | |
parent | 148434217c040ea38dc844384f6ba68d9b325906 (diff) | |
download | illumos-joyent-8cb74972a66bde0af7b1a957d01e0095b82a8b91.tar.gz |
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
Diffstat (limited to 'usr/src/lib/libc')
-rw-r--r-- | usr/src/lib/libc/port/threads/synch.c | 10 |
1 files changed, 5 insertions, 5 deletions
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); |