[Bug translator/6950] buildok/twentyfive.stp fails with elfutils 0.137
mjw at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Nov 12 20:41:00 GMT 2008
------- Additional Comments From mjw at redhat dot com 2008-11-12 20:40 -------
Oneline reproducer:
$ stap -e 'probe module("ext3").function("ext3_check_dir_entry")
{print($ext3_filetype_table)}'
semantic error: libdwfl failure (dwfl_getmodules): no error while resolving
probe point module("ext3").function("ext3_check_dir_entry")
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
Adding some stap -vvv will give (at the end):
[...]
focused on module 'ext3 = [0x559f200-0x55c2051, bias 0x0] file
/usr/lib/debug/lib/modules/2.6.18-92.1.13.el5/kernel/fs/ext3/ext3.ko.debug ELF
machine x86_64 (code 62)
focused on module 'ext3'
selected function ext3_check_dir_entry
probe ext3_check_dir_entry@fs/ext3/dir.c:68 module=ext3 reloc=.text
section=.text pc=0x55a0b7c
finding location for local 'ext3_filetype_table' near address 55a0b7c, module bias 0
semantic error: libdwfl failure (dwfl_getmodules): no error while resolving
probe point module("ext3").function("ext3_check_dir_entry")
The ext3_filetype_table is defined in the same file (fs/ext3/dir.c) as the
function being probed as:
static unsigned char ext3_filetype_table[] = {
DT_UNKNOWN, DT_REG, DT_DIR, DT_CHR, DT_BLK, DT_FIFO, DT_SOCK, DT_LNK
};
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6950
------- 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