This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Perftools]Function name too long for systemtap


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]