Bug 817245 - [Tracing]usb_clear_device_feature tracepoint can not use
[Tracing]usb_clear_device_feature tracepoint can not use
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.3
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Gerd Hoffmann
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-28 05:17 EDT by daiwei
Modified: 2012-05-29 03:43 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-29 03:43:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description daiwei 2012-04-28 05:17:49 EDT
Description of problem:


Version-Release number of selected component (if applicable):

# uname -r; rpm -q qemu-kvm-rhev
2.6.32-262.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.287.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. On host

#stap usb_clear_device_feature.stp

2. Boot guest 
CLI:

/usr/libexec/qemu-kvm -m 2G -smp 2 -cpu Penryn -M rhel6.3.0 -boot order=dcn,menu=on -uuid e85e6987-c012-4025-878a-d4a5f521f8a5 -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -monitor stdio -name win2008-64 -spice port=9000,disable-ticketing -vga qxl -global qxl-vga.vram_size=67108864 -drive file=/home/win2008sp2-64.raw,index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,boot=on,snapshot=off,readonly=off,format=raw,aio=native,werror=stop,rerror=stop -device virtio-blk-pci,scsi=off,drive=drive-virtio-disk1,id=virtio-disk1,bootindex=1 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup-switch -device virtio-net-pci,netdev=hostnet0,mac=00:10:20:2d:31:21,bus=pci.0,addr=0x4,id=net0 -device virtio-balloon-pci,bus=pci.0,id=balloon0 -usbdevice tablet

3.
  
Actual results:
nothing output

Expected results:
the scripts should return like :

addr=2,feature=1,ret=0

addr=2,feature=1,ret=0

Additional info:
1.
# cat usb_clear_device_feature.stp
probe qemu.kvm.usb_clear_device_feature
{
 printf("addr=%d,feature=%d,ret=%d\n",addr,feature,ret);
}

2.usb_set_device_feature tracepoint has the same issue.

3.Test RHEL6.3 guest, no this issue.
Comment 1 Gerd Hoffmann 2012-05-29 03:43:15 EDT
It's a trace of guest activities, so if the guest doesn't invoke set/clear device feature requests then you don't see the tracepoints trigger.  Normal behavior.

Note You need to log in before you can comment on or make changes to this bug.