[Bug translator/6749] New: tolerate failed kprobe_register calls
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jul 15 23:31:00 GMT 2008
On one peculiar kernel (fedora rawhide, 2.6.26-0.131.rc9.git9.fc10.i686),
some symbols ("panic", "printk") for show up after the _etext symbol.
(.text.unlikely?). register_kprobes()' kernel_text_address() test refuses
to probe these guys. That in turn leads the translator-generated probe
setup loop to abort:
c04010e8 T _stext
c066b6d0 T __kprobes_text_start
c066e434 T __kprobes_text_end
c066f0ce T _etext
c066f133 T panic
# stap -e 'probe kernel.function("panic") {}'
ERROR: probe .... registration error (rc -22)
#
It would be better to skip such unplaceable probes (and emit a warning)
and run the rest of the script. Or else, we may opt to skip these probes
by encoding the _stext <= PTR < _etext condition from the kernel_text_address()
test into the translator.
--
Summary: tolerate failed kprobe_register calls
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6749
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list