Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1554090

Summary: Add WPP tracing to virtio-net's Windows driver
Product: Red Hat Enterprise Linux 7 Reporter: Sameeh Jubran <sjubran>
Component: virtio-winAssignee: Sameeh Jubran <sjubran>
virtio-win sub component: virtio-win-prewhql QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: medium CC: ailan, juzhang, lijin, michen, mtessun, sjubran, wyu
Version: 7.5Keywords: FutureFeature
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: WPP tracing Reason: better than the old style debug prints Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-19 10:11:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sameeh Jubran 2018-03-11 11:47:05 UTC
Description of problem:

Currently in NetKVM - The virtio-net's Windows driver - the debug prints are done using the debug print function that is viewable by DebugView.

WPP tracing has some advantages over debug print call:

* It can be enabled, disabled and filtered at runtime with minimal overhead
* Traces are are automatically included in the crash dumps
* Logs can be easily collected using a script
* Time Stamps, Function names and some other useful data can be easily included into log.

Comment 3 Sameeh Jubran 2018-03-12 13:51:42 UTC
I have added few scripts that help in automating the log collection and parsing process in the following pull request which has already been merged:

https://github.com/virtio-win/kvm-guest-drivers-windows/pull/252

Comment 6 Sameeh Jubran 2018-06-19 10:11:10 UTC
The BZ#1556868 is more general and includes WPP support for kvm-guest-drivers which include virtio-net's Windows driver (netkvm).

*** This bug has been marked as a duplicate of bug 1556868 ***