DBGFLog.cpp revision 1939436fa43cbf7f5cdc05a3830ed624d5fe4a6a
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * DBGF - Debugger Facility, Log Manager.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright (C) 2006-2013 Oracle Corporation
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * available from http://www.virtualbox.org. This file is free software;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * you can redistribute it and/or modify it under the terms of the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * General Public License (GPL) as published by the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync/*******************************************************************************
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync* Header Files *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync*******************************************************************************/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Checkes for logger prefixes and selects the right logger.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * @returns Target logger.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * @param ppsz Pointer to the string pointer.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncstatic PRTLOGGER dbgfR3LogResolvedLogger(const char **ppsz)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * EMT worker for DBGFR3LogModifyGroups.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * @returns VBox status code.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * @param pUVM The user mode VM handle.
if (!pLogger)
return VINF_SUCCESS;
return rc;
return VMR3ReqPriorityCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3LogModifyGroups, 2, pUVM, pszGroupSettings);
if (!pLogger)
return VINF_SUCCESS;
return rc;
return VMR3ReqPriorityCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3LogModifyFlags, 2, pUVM, pszFlagSettings);
if (!pLogger)
return VINF_SUCCESS;
return rc;
return VMR3ReqPriorityCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3LogModifyDestinations, 2, pUVM, pszDestSettings);