Probing symbols that are not EXPORT()ed

Alan David Brunelle Alan.Brunelle@hp.com
Thu Jun 8 19:40:00 GMT 2006


> Figured it out - this works.
>
> global rqs
>
> probe module("*scsi_mod*").function("scsi_dispatch_cmd")
> {
>        rqs <<< ($cmd->request_bufflen / 512)
> }
>
> probe end
> {
>        print(@hist_log(rqs))
>        exit()
> } 



More information about the Systemtap mailing list