1 | /* $Id: iprt.d 69434 2017-10-27 15:48:25Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IPRT - Static dtrace probes.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2009-2017 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 | * The contents of this file may alternatively be used under the terms
|
---|
18 | * of the Common Development and Distribution License Version 1.0
|
---|
19 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | * CDDL are applicable instead of those of the GPL.
|
---|
22 | *
|
---|
23 | * You may elect to license modified versions of this file under the
|
---|
24 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | */
|
---|
26 |
|
---|
27 | provider iprt
|
---|
28 | {
|
---|
29 | probe critsect__entered(void *a_pvCritSect, const char *a_pszLaterNm, int32_t a_cLockers, uint32_t a_cNestings);
|
---|
30 | probe critsect__leaving(void *a_pvCritSect, const char *a_pszLaterNm, int32_t a_cLockers, uint32_t a_cNestings);
|
---|
31 | probe critsect__waiting(void *a_pvCritSect, const char *a_pszLaterNm, int32_t a_cLockers, void *a_pvNativeThreadOwner);
|
---|
32 | probe critsect__busy( void *a_pvCritSect, const char *a_pszLaterNm, int32_t a_cLockers, void *a_pvNativeThreadOwner);
|
---|
33 |
|
---|
34 | probe critsectrw__excl_entered(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cNestings,
|
---|
35 | uint32_t a_cWaitingReaders, uint32_t cWriters);
|
---|
36 | probe critsectrw__excl_leaving(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cNestings,
|
---|
37 | uint32_t a_cWaitingReaders, uint32_t cWriters);
|
---|
38 | probe critsectrw__excl_waiting(void *a_pvCritSect, const char *a_pszLaterNm, uint8_t a_fWriteMode, uint32_t a_cWaitingReaders,
|
---|
39 | uint32_t a_cReaders, uint32_t a_cWriters, void *a_pvNativeOwnerThread);
|
---|
40 | probe critsectrw__excl_busy( void *a_pvCritSect, const char *a_pszLaterNm, uint8_t a_fWriteMode, uint32_t a_cWaitingReaders,
|
---|
41 | uint32_t a_cReaders, uint32_t a_cWriters, void *a_pvNativeOwnerThread);
|
---|
42 | probe critsectrw__excl_entered_shared(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cNestings,
|
---|
43 | uint32_t a_cWaitingReaders, uint32_t a_cWriters);
|
---|
44 | probe critsectrw__excl_leaving_shared(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cNestings,
|
---|
45 | uint32_t a_cWaitingReaders, uint32_t a_cWriters);
|
---|
46 | probe critsectrw__shared_entered(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cReaders, uint32_t a_cNestings);
|
---|
47 | probe critsectrw__shared_leaving(void *a_pvCritSect, const char *a_pszLaterNm, uint32_t a_cReaders, uint32_t a_cNestings);
|
---|
48 | probe critsectrw__shared_waiting(void *a_pvCritSect, const char *a_pszLaterNm, void *a_pvNativeThreadOwner,
|
---|
49 | uint32_t cWaitingReaders, uint32_t cWriters);
|
---|
50 | probe critsectrw__shared_busy( void *a_pvCritSect, const char *a_pszLaterNm, void *a_pvNativeThreadOwner,
|
---|
51 | uint32_t a_cWaitingReaders, uint32_t a_cWriters);
|
---|
52 |
|
---|
53 | };
|
---|
54 |
|
---|
55 | #pragma D attributes Evolving/Evolving/Common provider iprt provider
|
---|
56 | #pragma D attributes Private/Private/Unknown provider iprt module
|
---|
57 | #pragma D attributes Private/Private/Unknown provider iprt function
|
---|
58 | #pragma D attributes Evolving/Evolving/Common provider iprt name
|
---|
59 | #pragma D attributes Evolving/Evolving/Common provider iprt args
|
---|
60 |
|
---|