This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: systemtap with USB
Hi,
This time i tried with linux-2.6.24 kernel and systemtap (version
0.6.2/0.130). Still not working.
With -t option only one hit is seen i.e.
probe timer.ms(5000) (usb-reg.stp:7:1), hits: 1, cycles:
1780min/1780avg/1780max ......
When i tried with
probe module("usb-storage").function(....)
It gave me the following error:
semantic error: no match while resolving probe point
module("usb-storage").function("usb_register_driver")
Regards,
Jaseen
Frank Ch. Eigler wrote:
>
> tsjaseen <jaseen.shamsuddin@wipro.com> writes:
>
>> [...]
>> 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.
>> [...]
>> 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.
>
> Hm, works for me with a slightly more current fc8 kernel. Try adding
> a "-t" to the stap command line. It will show you for sure whether a
> probe had been hit.
>
>
>> 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("....")
>
> You will need to use
> probe module("usb-storage").function(....)
>
> - FChE
>
>
--
View this message in context: http://www.nabble.com/systemtap-with-USB-tp16442451p16464545.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.