registration error (rc -22)
Frank Ch. Eigler
fche@redhat.com
Mon Sep 22 15:35:00 GMT 2008
Paul Larson <pl@us.ibm.com> writes:
> [...]
> probe module("cxgb3").function("*") {
> print("got here\n")
> }
> [...]
> ERROR: probe
> module("cxgb3").function("get_regs@drivers/net/cxgb3/cxgb3_main.c:1366")
> registration error (rc -22)
Things are working fine for x86/x86-64 in several tests. To help
diagnose what's going on there, try ...
% stap -vvv -p2 -e '... your probe ...'
in particular, find the pc addresses. Or run "-p3" and gaze at the
kprobe setup tables.
Run
# stap -vvv -DDEBUG_SYMBOLS -e '... your probe ...'
There should be some
_stp_module_relocate MODULE, SECTION, OFFSET
_stp_module_relocate address=RESULT
type messages in there. The OFFSET/SECTION should match up with
the -p2/-p3 values. The RESULT address should match up with the
live running value from /proc/kallsyms.
- FChE
More information about the Systemtap
mailing list