Red Hat Bugzilla – Bug 490801
[PATCH] Could not probe interrupt handler
Last modified: 2009-03-19 13:04:28 EDT
Created attachment 335653 [details]
Disable blacklist in Guru mode
With 0.9 I could not attach a probe to interrupt handlers with *_intr() (such as e1000_intr()) names (while those with names not matching the pattern, such as ata_sff_interrupt() or usb_hcd_irq() could be probed for without a problem).
While this worked for me flawlessly on Rawhide's 2.6.29, I understand that there may be some problems with probing interrupt handlers, still it would be nice if the blacklist could be just disabled.
If I understand the documentation correctly, the feature to turn off security measures is the Guru mode, therefore I attach a tiny patch, that disables the blacklist in guru mode. I tested it successfully being able to add module("e1000).function("e1000_intr") and module("e1000).function("e1000_intr").return probes.
Thanks, your patch is applied and should appear in the next version of systemtap.