Changeset 40416 in vbox for trunk/src/VBox/VMM/VMMR3/PDM.cpp
- Timestamp:
- Mar 9, 2012 4:24:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDM.cpp
r40406 r40416 2390 2390 for (PPDMDEVINS pDevIns = pVM->pdm.s.pDevInstances; pDevIns; pDevIns = pDevIns->Internal.s.pNextR3) 2391 2391 { 2392 pDevIns->fTrac eing = fEnable;2392 pDevIns->fTracing = fEnable; 2393 2393 for (PPDMLUN pLun = pDevIns->Internal.s.pLunsR3; pLun; pLun = pLun->pNext) 2394 2394 for (PPDMDRVINS pDrvIns = pLun->pTop; pDrvIns; pDrvIns = pDrvIns->Internal.s.pDown) 2395 pDrvIns->fTrac eing = fEnable;2395 pDrvIns->fTracing = fEnable; 2396 2396 } 2397 2397 … … 2399 2399 for (PPDMUSBINS pUsbIns = pVM->pdm.s.pUsbInstances; pUsbIns; pUsbIns = pUsbIns->Internal.s.pNext) 2400 2400 { 2401 pUsbIns->fTrac eing = fEnable;2401 pUsbIns->fTracing = fEnable; 2402 2402 for (PPDMLUN pLun = pUsbIns->Internal.s.pLuns; pLun; pLun = pLun->pNext) 2403 2403 for (PPDMDRVINS pDrvIns = pLun->pTop; pDrvIns; pDrvIns = pDrvIns->Internal.s.pDown) 2404 pDrvIns->fTrac eing = fEnable;2404 pDrvIns->fTracing = fEnable; 2405 2405 2406 2406 } … … 2430 2430 cMatches++; 2431 2431 if (fApply) 2432 pDevIns->fTrac eing = fEnable;2432 pDevIns->fTracing = fEnable; 2433 2433 } 2434 2434 } … … 2447 2447 cMatches++; 2448 2448 if (fApply) 2449 pUsbIns->fTrac eing = fEnable;2449 pUsbIns->fTracing = fEnable; 2450 2450 } 2451 2451 } … … 2468 2468 cMatches++; 2469 2469 if (fApply) 2470 pDrvIns->fTrac eing = fEnable;2470 pDrvIns->fTracing = fEnable; 2471 2471 } 2472 2472 } … … 2486 2486 cMatches++; 2487 2487 if (fApply) 2488 pDrvIns->fTrac eing = fEnable;2488 pDrvIns->fTracing = fEnable; 2489 2489 } 2490 2490 } … … 2510 2510 for (PPDMDEVINS pDevIns = pVM->pdm.s.pDevInstances; pDevIns; pDevIns = pDevIns->Internal.s.pNextR3) 2511 2511 { 2512 if (pDevIns->fTrac eing != (uint32_t)fEnabled)2512 if (pDevIns->fTracing != (uint32_t)fEnabled) 2513 2513 return false; 2514 2514 2515 2515 for (PPDMLUN pLun = pDevIns->Internal.s.pLunsR3; pLun; pLun = pLun->pNext) 2516 2516 for (PPDMDRVINS pDrvIns = pLun->pTop; pDrvIns; pDrvIns = pDrvIns->Internal.s.pDown) 2517 if (pDrvIns->fTrac eing != (uint32_t)fEnabled)2517 if (pDrvIns->fTracing != (uint32_t)fEnabled) 2518 2518 return false; 2519 2519 } … … 2522 2522 for (PPDMUSBINS pUsbIns = pVM->pdm.s.pUsbInstances; pUsbIns; pUsbIns = pUsbIns->Internal.s.pNext) 2523 2523 { 2524 if (pUsbIns->fTrac eing != (uint32_t)fEnabled)2524 if (pUsbIns->fTracing != (uint32_t)fEnabled) 2525 2525 return false; 2526 2526 2527 2527 for (PPDMLUN pLun = pUsbIns->Internal.s.pLuns; pLun; pLun = pLun->pNext) 2528 2528 for (PPDMDRVINS pDrvIns = pLun->pTop; pDrvIns; pDrvIns = pDrvIns->Internal.s.pDown) 2529 if (pDrvIns->fTrac eing != (uint32_t)fEnabled)2529 if (pDrvIns->fTracing != (uint32_t)fEnabled) 2530 2530 return false; 2531 2531 } … … 2591 2591 for (PPDMDEVINS pDevIns = pVM->pdm.s.pDevInstances; pDevIns; pDevIns = pDevIns->Internal.s.pNextR3) 2592 2592 { 2593 if (pDevIns->fTrac eing)2593 if (pDevIns->fTracing) 2594 2594 { 2595 2595 rc = pdmR3TracingAdd(&pszDst, &cbDst, pszDst != pszConfig, "dev", pDevIns->Internal.s.pDevR3->pReg->szName); … … 2600 2600 for (PPDMLUN pLun = pDevIns->Internal.s.pLunsR3; pLun; pLun = pLun->pNext) 2601 2601 for (PPDMDRVINS pDrvIns = pLun->pTop; pDrvIns; pDrvIns = pDrvIns->Internal.s.pDown) 2602 if (pDrvIns->fTrac eing)2602 if (pDrvIns->fTracing) 2603 2603 { 2604 2604 rc = pdmR3TracingAdd(&pszDst, &cbDst, pszDst != pszConfig, "drv", pDrvIns->Internal.s.pDrv->pReg->szName); … … 2611 2611 for (PPDMUSBINS pUsbIns = pVM->pdm.s.pUsbInstances; pUsbIns; pUsbIns = pUsbIns->Internal.s.pNext) 2612 2612 { 2613 if (pUsbIns->fTrac eing)2613 if (pUsbIns->fTracing) 2614 2614 { 2615 2615 rc = pdmR3TracingAdd(&pszDst, &cbDst, pszDst != pszConfig, "usb", pUsbIns->Internal.s.pUsbDev->pReg->szName); … … 2620 2620 for (PPDMLUN pLun = pUsbIns->Internal.s.pLuns; pLun; pLun = pLun->pNext) 2621 2621 for (PPDMDRVINS pDrvIns = pLun->pTop; pDrvIns; pDrvIns = pDrvIns->Internal.s.pDown) 2622 if (pDrvIns->fTrac eing)2622 if (pDrvIns->fTracing) 2623 2623 { 2624 2624 rc = pdmR3TracingAdd(&pszDst, &cbDst, pszDst != pszConfig, "drv", pDrvIns->Internal.s.pDrv->pReg->szName);
Note:
See TracChangeset
for help on using the changeset viewer.