VirtualBox

source: vbox/trunk/src/VBox/Devices/Trace/DrvIfsTraceInternal.h@ 83062

Last change on this file since 83062 was 82789, checked in by vboxsync, 5 years ago

Devices/Trace: Tracing driver to log execution of interface callbacks between devices and drivers (for debugging user reported issues), see README on how to use

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/* $Id: DrvIfsTraceInternal.h 82789 2020-01-19 12:19:24Z vboxsync $ */
2/** @file
3 * VBox interface callback tracing driver - internal header.
4 */
5
6/*
7 * Copyright (C) 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
18#ifndef VBOX_INCLUDED_SRC_Trace_DrvIfsTraceInternal_h
19#define VBOX_INCLUDED_SRC_Trace_DrvIfsTraceInternal_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24#include <VBox/vmm/pdmdrv.h>
25#include <VBox/vmm/pdmserialifs.h>
26
27#include <iprt/types.h>
28
29
30/**
31 * Interface Tracing Driver Instance Data.
32 */
33typedef struct DRVIFTRACE
34{
35 /** @name Interfaces exposed by this driver.
36 * @{ */
37 PDMIBASE IBase;
38 PDMISERIALPORT ISerialPort;
39 PDMISERIALCONNECTOR ISerialConnector;
40 /** @} */
41
42 /** @name Interfaces exposed by the driver below us.
43 * @{ */
44 PPDMISERIALCONNECTOR pISerialConBelow;
45 /** @} */
46
47 /** @name Interfaces exposed by the driver/device above us.
48 * @{ */
49 PPDMISERIALPORT pISerialPortAbove;
50 /** @} */
51
52 /** PDM device driver instance pointer. */
53 PPDMDRVINS pDrvIns;
54 /** The trace log writer handle. */
55 RTTRACELOGWR hTraceLog;
56 /** Path of the trace log file. */
57 char *pszTraceFilePath;
58
59} DRVIFTRACE;
60/** Pointer to a interface tracing driver instance. */
61typedef DRVIFTRACE *PDRVIFTRACE;
62
63
64DECLHIDDEN(void) drvIfsTrace_SerialIfInit(PDRVIFTRACE pThis);
65
66#endif /* !VBOX_INCLUDED_SRC_Trace_DrvIfsTraceInternal_h */
Note: See TracBrowser for help on using the repository browser.

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