VirtualBox

source: vbox/trunk/src/VBox/Devices/build/VBoxDD.d@ 88946

Last change on this file since 88946 was 88944, checked in by vboxsync, 4 years ago

AudioMixer,DevHda: Added AudioMixerSinkTransferToCircBuf and AudioMixerSinkTransferFromCircBuf for doing the transfers between the mixer buffer and the internal DMA buffer of the device that usually takes place on the AIO thread. Refactored from hdaR3StreamPullFromMixer and hdaR3StreamPushToMixer. bugref:9890

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1/* $Id: VBoxDD.d 88944 2021-05-08 13:29:43Z vboxsync $ */
2/** @file
3 * VBoxDD - Static dtrace probes
4 */
5
6/*
7 * Copyright (C) 2009-2020 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
18provider vboxdd
19{
20 probe hgcmcall__enter(void *pvCmd, unsigned int idFunction, unsigned int idClient, unsigned int cbCmd);
21 probe hgcmcall__completed__req(void *pvCmd, int rc);
22 probe hgcmcall__completed__emt(void *pvCmd, int rc);
23 probe hgcmcall__completed__done(void *pvCmd, unsigned int idFunction, unsigned int idClient, int rc);
24
25 probe ahci__req__submit(void *pvReq, int iTxDir, uint64_t offStart, uint64_t cbXfer);
26 probe ahci__req__completed(void *pvReq, int rcReq, uint64_t offStart, uint64_t cbXfer);
27
28 probe hda__stream__setup(uint32_t idxStream, int32_t rc, uint32_t uHz, uint64_t cTicksPeriod, uint32_t cbPeriod);
29 probe hda__stream__reset(uint32_t idxStream);
30 probe hda__stream__dma__out(uint32_t idxStream, uint32_t cb, uint64_t off);
31 probe hda__stream__dma__in(uint32_t idxStream, uint32_t cb, uint64_t off);
32 probe hda__stream__dma__flowerror(uint32_t idxStream, uint32_t cbFree, uint32_t cbPeriod, int32_t fOverflow);
33
34 probe audio__mixer__sink__aio__out(uint32_t idxStream, uint32_t cb, uint64_t off);
35 probe audio__mixer__sink__aio__in(uint32_t idxStream, uint32_t cb, uint64_t off);
36};
37
38#pragma D attributes Evolving/Evolving/Common provider vboxdd provider
39#pragma D attributes Private/Private/Unknown provider vboxdd module
40#pragma D attributes Private/Private/Unknown provider vboxdd function
41#pragma D attributes Evolving/Evolving/Common provider vboxdd name
42#pragma D attributes Evolving/Evolving/Common provider vboxdd args
43
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette