This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [Perftools]Function name too long for systemtap
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Kevin Anderson <kanderso at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: 12 Jul 2006 23:22:21 -0400
- Subject: Re: [Perftools]Function name too long for systemtap
- References: <mailman.1152743762.668.perftools-list@redhat.com>
Kevin Anderson <kanderso@redhat.com> writes:
> Is this a known problem with systemtap?
> open("/sys/module/gfs2/sections/.text.gfs2_dir_get_existing_buffer",
> O_RDONLY) = -1 ENOENT (No such file or directory)
> [...]
> If I ls -l the directory, the file name shows up as :
> [root@heater-02-1 stap]# ls
> -l /sys/module/gfs2/sections/.text.gfs2_dir_get_existing_buf
> [...]
> Notice that the "fer" got truncated off of the function name in the
> directory listing.
This name truncation is occurring in the kernel (due to the macro
MODULE_SECT_NAME_LEN=32 in include/linux/module.h). Since this may
not be corrected, elfutils could instead perform the same data-losing
truncation in libdwfl/linux-kernel-modules.c.
- FChE