1 | /* $Id: iprt.d 59037 2015-12-07 17:56:18Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IPRT - Static dtrace probes.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2009-2015 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | provider iprt
|
---|
19 | {
|
---|
20 | probe critsect__entered(void *a_pvCritSect, const char *a_pszLaterNm, int32_t a_cLockers, uint32_t a_cNestings);
|
---|
21 | probe critsect__leaving(void *a_pvCritSect, const char *a_pszLaterNm, int32_t a_cLockers, uint32_t a_cNestings);
|
---|
22 | probe critsect__waiting(void *a_pvCritSect, const char *a_pszLaterNm, int32_t a_cLockers, void *a_pvNativeThreadOwner);
|
---|
23 | probe critsect__busy( void *a_pvCritSect, const char *a_pszLaterNm, int32_t a_cLockers, void *a_pvNativeThreadOwner);
|
---|
24 |
|
---|
25 | probe critsectrw__excl_entered(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cNestings,
|
---|
26 | uint32_t a_cWaitingReaders, uint32_t cWriters);
|
---|
27 | probe critsectrw__excl_leaving(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cNestings,
|
---|
28 | uint32_t a_cWaitingReaders, uint32_t cWriters);
|
---|
29 | probe critsectrw__excl_waiting(void *a_pvCritSect, const char *a_pszLaterNm, uint8_t a_fWriteMode, uint32_t a_cWaitingReaders,
|
---|
30 | uint32_t a_cReaders, uint32_t a_cWriters, void *a_pvNativeOwnerThread);
|
---|
31 | probe critsectrw__excl_busy( void *a_pvCritSect, const char *a_pszLaterNm, uint8_t a_fWriteMode, uint32_t a_cWaitingReaders,
|
---|
32 | uint32_t a_cReaders, uint32_t a_cWriters, void *a_pvNativeOwnerThread);
|
---|
33 | probe critsectrw__excl_entered_shared(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cNestings,
|
---|
34 | uint32_t a_cWaitingReaders, uint32_t a_cWriters);
|
---|
35 | probe critsectrw__excl_leaving_shared(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cNestings,
|
---|
36 | uint32_t a_cWaitingReaders, uint32_t a_cWriters);
|
---|
37 | probe critsectrw__shared_entered(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cReaders, uint32_t a_cNestings);
|
---|
38 | probe critsectrw__shared_leaving(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cReaders, uint32_t a_cNestings);
|
---|
39 | probe critsectrw__shared_waiting(void *a_pvCritSect, const char *a_pszLaterNm, void *a_pvNativeThreadOwner,
|
---|
40 | uint32_t cWaitingReaders, uint32_t cWriters);
|
---|
41 | probe critsectrw__shared_busy( void *a_pvCritSect, const char *a_pszLaterNm, void *a_pvNativeThreadOwner,
|
---|
42 | uint32_t a_cWaitingReaders, uint32_t a_cWriters);
|
---|
43 |
|
---|
44 | };
|
---|
45 |
|
---|
46 | #pragma D attributes Evolving/Evolving/Common provider iprt provider
|
---|
47 | #pragma D attributes Private/Private/Unknown provider iprt module
|
---|
48 | #pragma D attributes Private/Private/Unknown provider iprt function
|
---|
49 | #pragma D attributes Evolving/Evolving/Common provider iprt name
|
---|
50 | #pragma D attributes Evolving/Evolving/Common provider iprt args
|
---|
51 |
|
---|