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: stptracer-20060828 has released.


Hiramatsu san,
I'd like to try this release, but found a problem when starting it.
The problem is :
Although i configured kernel with RELAY option, it find relayfs is not
in kernel or not built.  Then, it triggers to build relayfs provided
by systemtap runtime.  But the process failed, due to the mismatch
between the relayfs and kernel(Kernel version: 2.6.18-rc3; systemtap
version : snapshot20060826). The details are attached.

I think it's better to have an INSTALL doc.

Best regards.

On 8/30/06, Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> wrote:
Hi,

I released the latest STPTracer scripts including a logfile merging tool.
You can download it from this URL:
http://sourceforge.net/project/showfiles.php?group_id=41854&package_id=172065

This tracer-script covers about a half of events which LKST provides.
And LKST Log Tools can treat the logfiles recorded by this script.
This version of STPTracer does not support the flight-recorder feature yet.
I think we must fix the format of the temporary per-cpu files before that.

By the way, in this version, I still use gBTI which I proposed before,
because it is good enough for simple transfer of binary data.

Best regards.
--
Masami HIRAMATSU
2nd Research Dept.
Hitachi, Ltd., Systems Development Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com



-- sunzen <<freedom & enjoyment>>
[root@localhost stptracer-20060828]# ./stptracer masksets/bioqueue.stp
building module...
stap -b -I./tapset -mstptracer -p4 -k -v -D RELAYFS_VERSION_GE_4 masksets/bioqueue.stp &> stap.log
built
start tracing ...
relayfs not in kernel and not built.  Compiling...
make: Entering directory `/var/cache/systemtap/relayfs'
make -C /lib/modules/2.6.18-rc3/build SUBDIRS=/var/cache/systemtap/relayfs modules
make[1]: Entering directory `/home/sunzen/build-linux/linux-2.6.18-rc3'
make -C /home/sunzen/src-linux/linux-2.6.18-rc3 O=/home/sunzen/build-linux/linux-2.6.18-rc3 modules
  CC [M]  /var/cache/systemtap/relayfs/relay.o
  CC [M]  /var/cache/systemtap/relayfs/inode.o
/var/cache/systemtap/relayfs/inode.c: In function ¡®relayfs_create_entry¡¯:
/var/cache/systemtap/relayfs/inode.c:108: warning: passing argument 1 of ¡®simple_pin_fs¡¯ from incompatible pointer type
/var/cache/systemtap/relayfs/inode.c:127: error: ¡®struct inode¡¯ has no member named ¡®i_sem¡¯
/var/cache/systemtap/relayfs/inode.c:128: warning: implicit declaration of function ¡®lookup_hash¡¯
/var/cache/systemtap/relayfs/inode.c:128: warning: assignment makes pointer from integer without a cast
/var/cache/systemtap/relayfs/inode.c:157: error: ¡®struct inode¡¯ has no member named ¡®i_sem¡¯
/var/cache/systemtap/relayfs/inode.c: In function ¡®relayfs_remove¡¯:
/var/cache/systemtap/relayfs/inode.c:216: error: ¡®struct inode¡¯ has no member named ¡®i_sem¡¯
/var/cache/systemtap/relayfs/inode.c:227: error: ¡®struct inode¡¯ has no member named ¡®i_sem¡¯
/var/cache/systemtap/relayfs/inode.c: In function ¡®relayfs_get_sb¡¯:
/var/cache/systemtap/relayfs/inode.c:390: error: too few arguments to function ¡®get_sb_single¡¯
/var/cache/systemtap/relayfs/inode.c: At top level:
/var/cache/systemtap/relayfs/inode.c:396: warning: initialization from incompatible pointer type
/var/cache/systemtap/relayfs/inode.c: In function ¡®relayfs_get_sb¡¯:
/var/cache/systemtap/relayfs/inode.c:391: warning: control reaches end of non-void function
make[4]: *** [/var/cache/systemtap/relayfs/inode.o] Error 1
make[3]: *** [_module_/var/cache/systemtap/relayfs] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/sunzen/build-linux/linux-2.6.18-rc3'
make: *** [default] Error 2
make: Leaving directory `/var/cache/systemtap/relayfs'
Failed to load module relayfs.
ERROR: couldn't open relayfs file /mnt/relay/5482/cpu0: errcode = No such file or directory
ERROR: couldn't open relayfs files, cpu = 0
ERROR: couldn't init relayfs, exiting
traced

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