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: usertap kernel read faults - can I ignore them somehow?


On 29/11/2011 14:38, Frank Ch. Eigler wrote:

Hi, Matthew -


I'm having an issue with our usertap tapset
(https://github.com/fubralimited/usertap) [...]
ERROR: kernel read fault at 0x0000000100000264 (addr) near identifier
'@cast' at /usr/share/systemtap/tapset/ip.stp:45:11

You can do several things. First, you can run "stap --skip-badvars ...", which turns all erroneous $var accesses into 0. Second, you can (sometimes) wrap expressions with try { var = $var } catch { } to absorb the error. But see<http://sourceware.org/PR13306>.

- FChE


Thanks, that's exactly what I was looking for. When using the --skip-badvars option, if I'm running the tapset as a service using stapio, do I pass this to /usr/bin/stap when I build the original module (.ko) and this will apply whenever the module version is used by stapio etc. from then on?


Matt.


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