VirtualBox

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

最後變更 在這個檔案從87961是 87961,由 vboxsync 提交於 4 年 前

DevHDA: Added a couple of dtrace probes for tracking data from DMA thru the circbuf over onto the AIO thread. Log these virtual stream offsets on the DMA and AIO ends. bugref:9890

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.9 KB
 
1/* $Id: VBoxDD.d 87961 2021-03-04 20:29:46Z 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.alldomusa.eu.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__aio__out(uint32_t idxStream, uint32_t cb, uint64_t off);
33 probe hda__stream__aio__in(uint32_t idxStream, uint32_t cb, uint64_t off);
34};
35
36#pragma D attributes Evolving/Evolving/Common provider vboxdd provider
37#pragma D attributes Private/Private/Unknown provider vboxdd module
38#pragma D attributes Private/Private/Unknown provider vboxdd function
39#pragma D attributes Evolving/Evolving/Common provider vboxdd name
40#pragma D attributes Evolving/Evolving/Common provider vboxdd args
41
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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