1 | /* $Id: VBoxDD.d 106061 2024-09-16 14:03:52Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxDD - Static dtrace probes
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2009-2024 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox base platform packages, as
|
---|
10 | * available from https://www.virtualbox.org.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or
|
---|
13 | * modify it under the terms of the GNU General Public License
|
---|
14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
15 | * License.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful, but
|
---|
18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | * General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | *
|
---|
25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | */
|
---|
27 |
|
---|
28 | provider vboxdd
|
---|
29 | {
|
---|
30 | probe hgcmcall__enter(void *pvCmd, uint32_t idFunction, uint32_t idClient, uint32_t cbCmd);
|
---|
31 | probe hgcmcall__completed__req(void *pvCmd, int rc);
|
---|
32 | probe hgcmcall__completed__emt(void *pvCmd, int rc);
|
---|
33 | probe hgcmcall__completed__done(void *pvCmd, uint32_t idFunction, uint32_t idClient, int rc);
|
---|
34 |
|
---|
35 | probe ahci__req__submit(void *pvReq, int iTxDir, uint64_t offStart, uint64_t cbXfer);
|
---|
36 | probe ahci__req__completed(void *pvReq, int rcReq, uint64_t offStart, uint64_t cbXfer);
|
---|
37 |
|
---|
38 | probe hda__stream__setup(uint32_t idxStream, int32_t rc, uint32_t uHz, uint64_t cTicksPeriod, uint32_t cbPeriod);
|
---|
39 | probe hda__stream__reset(uint32_t idxStream);
|
---|
40 | probe hda__stream__dma__out(uint32_t idxStream, uint32_t cb, uint64_t off);
|
---|
41 | probe hda__stream__dma__in(uint32_t idxStream, uint32_t cb, uint64_t off);
|
---|
42 | probe hda__stream__dma__flowerror(uint32_t idxStream, uint32_t cbFree, uint32_t cbPeriod, int32_t fOverflow);
|
---|
43 |
|
---|
44 | probe audio__mixer__sink__aio__out(uint32_t idxStream, uint32_t cb, uint64_t off);
|
---|
45 | probe audio__mixer__sink__aio__in(uint32_t idxStream, uint32_t cb, uint64_t off);
|
---|
46 | };
|
---|
47 |
|
---|
48 | #pragma D attributes Evolving/Evolving/Common provider vboxdd provider
|
---|
49 | #pragma D attributes Private/Private/Unknown provider vboxdd module
|
---|
50 | #pragma D attributes Private/Private/Unknown provider vboxdd function
|
---|
51 | #pragma D attributes Evolving/Evolving/Common provider vboxdd name
|
---|
52 | #pragma D attributes Evolving/Evolving/Common provider vboxdd args
|
---|
53 |
|
---|