This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
probing assembly functions doesn't work anymore
- From: Andi Kleen <ak at suse dot de>
- To: systemtap at sources dot redhat dot com
- Date: Thu, 19 Jul 2007 01:16:40 +0200
- Subject: probing assembly functions doesn't work anymore
- Organization: SUSE Linux Products GmbH, Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Hi,
I have an old stp script that worked with some older systemtap version, but now
fails with a current one (CVS of yesterday). After some investigation
it looks like stap cannot hook any pure assembler functions anymore.
e.g. on x86-64
# cat getuser.stp
probe kernel.function("__get_user_4") {
}
# stap getuser.stp
semantic error: no match for probe point while resolving probe point kernel.function("__get_user_4")
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
The function is there of course
# grep get_user_4 /proc/kallsyms
ffffffff80341f90 T __get_user_4
-Andi