This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: registration error (rc -22)
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Paul Larson <pl at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 22 Sep 2008 11:34:07 -0400
- Subject: Re: registration error (rc -22)
- References: <48D27A54.4080708@us.ibm.com>
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