]> git.saurik.com Git - apple/libc.git/blob - pthreads/plockstat.d
Libc-498.1.1.tar.gz
[apple/libc.git] / pthreads / plockstat.d
1 #include <pthread.h>
2
3 provider plockstat {
4 probe mutex__acquire(pthread_mutex_t *mutex, int recursive, int spin_count);
5 probe mutex__release(pthread_mutex_t *mutex, int recursive);
6 probe mutex__error(pthread_mutex_t *mutex, int errno);
7 probe mutex__block(pthread_mutex_t *mutex);
8 probe mutex__blocked(pthread_mutex_t *mutex, int successful);
9 probe mutex__spin(pthread_mutex_t *mutex);
10 probe mutex__spun(pthread_mutex_t *mutex, int successful, int spin_count);
11
12 probe rw__acquire(pthread_rwlock_t *rwlock, int write_lock);
13 probe rw__block(pthread_rwlock_t *rwlock, int write_lock);
14 probe rw__blocked(pthread_rwlock_t *rwlock, int write_lock, int successful);
15 probe rw__release(pthread_rwlock_t *rwlock, int write_lock);
16 probe rw__error(pthread_rwlock_t *rwlock, int write_lock, int error);
17 };
18
19 #pragma D attributes Evolving/Evolving/ISA provider plockstat provider
20 #pragma D attributes Private/Private/Unknown provider plockstat module
21 #pragma D attributes Private/Private/Unknown provider plockstat function
22 #pragma D attributes Evolving/Evolving/ISA provider plockstat name
23 #pragma D attributes Evolving/Evolving/ISA provider plockstat args