This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
systemtap with USB
- From: tsjaseen <jaseen dot shamsuddin at wipro dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 1 Apr 2008 22:34:56 -0700 (PDT)
- Subject: systemtap with USB
Hello,
I am trying with the systemtap tool to understand the USB subsystem. I've
written basic script where the probe point is set for usb_register_driver.
probe kernel.function("usb_register_driver")
{
print("Entering usb_register\n")
}
probe timer.ms(30000)
{
exit()
}
After executing this script i am inserting a USB flash due to which the
usb-storage module gets loaded. Checked by doing lsmod.
But the hook i've set here in the kernel is not getting the event at all.
Secondly, if i am setting the probe point for some other symbol exposed by
usb-storage module it gives the following error:
semantic error: no match for probe point while resolving probe point
kernel.function("....")
Please help me to resolve these issues.
FYI i am using FC8. kernel-2.6.23.1-42.fc8
Regards,
Jaseen
--
View this message in context: http://www.nabble.com/systemtap-with-USB-tp16442451p16442451.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.