This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Probing symbols that are not EXPORT()ed


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()
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]