Re: SystemTap release 0.9.8

From: Diego Calleja
Date: Fri Jun 12 2009 - 16:24:21 EST


On Viernes 12 Junio 2009 03:03:01 Josh Stone escribiÃ:
> The SystemTap team proudly announces release 0.9.8.

OK, I've been trying to run sucesfully systemtap for months, and
I have never been able to run even the example scripts, there's
always something that breaks. So I must be doing something wrong,
or there's something wrong somewhere. Here's the detailed output
or a failure (happens with any example script):

(PD: since systemtap seems to be affected by changes in the kernel version,
are you planning to include systemtap in the linus tree, now that he thinks
that merging in the kernel tree userspace tools closely related to the
kernel is a good thing?)

# sudo bin/stap -vvv share/doc/systemtap/examples/network/tcp.stp
SystemTap translator/driver (version 0.9.8/0.131 commit release-0.9.8-0-ge1774a7)
Copyright (C) 2005-2009 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Session arch: x86_64 release: 2.6.30
Created temporary directory "/tmp/stappAJDNk"
Searched '/home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/x86_64/*.stp', found 3
Searched '/home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/*.stp', found 51
Pass 1: parsed user script and 54 library script(s) in 300usr/10sys/311real ms.
blacklist regexps:
blfn: ^(atomic_notifier_call_chain|default_do_nmi|__die|die_nmi|do_debug|do_general_protection|do_int3|do_IRQ|do_page_fault|do_sparc64_fault|do_trap|dummy_nmi_callback|flush_icache_range|ia64_bad_break|ia64_do_page_fault|ia64_fault|io_check_error|mem_parity_error|nmi_watchdog_tick|notifier_call_chain|oops_begin|oops_end|program_check_exception|single_step_exception|sync_regs|unhandled_fault|unknown_nmi_error|.*raw_.*lock.*|.*read_.*lock.*|.*write_.*lock.*|.*spin_.*lock.*|.*rwlock_.*lock.*|.*rwsem_.*lock.*|.*mutex_.*lock.*|raw_.*|.*seq_.*lock.*|atomic_.*|atomic64_.*|get_bh|put_bh|.*apic.*|.*APIC.*|.*softirq.*|.*IRQ.*|.*_intr.*|__delay|.*kernel_text.*|get_current|current_.*|.*exception_tables.*|.*setup_rt_frame.*|.*preempt_count.*|preempt_schedule|__switch_to)$
blfn_ret: ^(do_exit|sys_exit|sys_exit_group)$
blfile: ^(kernel/kprobes.c|arch/.*/kernel/kprobes.c|include/asm/io.h|include/asm/bitops.h|arch/.*/include/asm/io.h|arch/.*/include/asm/bitops.h|drivers/ide/ide-iops.c)$
parsed 'tcp_recvmsg' -> func 'tcp_recvmsg'
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
selected function tcp_recvmsg
probe tcp_recvmsg@net/ipv4/tcp.c:1312 kernel reloc=.dynamic section=.text pc=0xffffffff805285b0
finding location for local 'sk' near address 0xffffffff805285b0, module bias 0x0
finding location for local 'len' near address 0xffffffff805285b0, module bias 0x0
finding location for local 'sk' near address 0xffffffff805285b0, module bias 0x0
finding location for local 'sk' near address 0xffffffff805285b0, module bias 0x0
finding location for local 'sk' near address 0xffffffff805285b0, module bias 0x0
finding location for local 'sk' near address 0xffffffff805285b0, module bias 0x0
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for inet_sock(net/ipv4/ip_input.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for inet_sock(net/ipv4/ip_input.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for iphdr(net/ipv4/route.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for iphdr(net/ipv4/route.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for iphdr(net/ipv4/route.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for inet_sock(net/ipv4/ip_input.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for tcphdr(net/ipv4/ip_output.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for tcphdr(net/ipv4/ip_output.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for tcphdr(net/ipv4/ip_output.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for tcphdr(net/ipv4/ip_output.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for tcphdr(net/ipv4/ip_output.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for tcphdr(net/ipv4/ip_output.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for tcphdr(net/ipv4/ip_output.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for tcphdr(net/ipv4/ip_output.c)
focused on module 'kernel = [0xffffffff80200000-0xffffffff808a1000, bias 0x0] file /lib/modules/2.6.30/build/vmlinux ELF machine |x86_64 (code 62)
focused on module 'kernel'
literal_stmt_for_pointer: finding value for inet_sock(net/ipv4/ip_input.c)
Eliding unused function __get_skb_iphdr
Eliding unused function __get_skb_iphdr_new
Eliding unused function __get_skb_tcphdr
Eliding unused function __get_skb_tcphdr_new
Eliding unused function __ip_skb_daddr
Eliding unused function __ip_skb_proto
Eliding unused function __ip_skb_saddr
Eliding unused function __tcp_skb_ack
Eliding unused function __tcp_skb_dport
Eliding unused function __tcp_skb_fin
Eliding unused function __tcp_skb_psh
Eliding unused function __tcp_skb_rst
Eliding unused function __tcp_skb_sport
Eliding unused function __tcp_skb_syn
Eliding unused function __tcp_skb_urg
Eliding unused function _dwarf_tvar_get_cast_10
Eliding unused function _dwarf_tvar_get_cast_12
Eliding unused function _dwarf_tvar_get_cast_13
Eliding unused function _dwarf_tvar_get_cast_14
Eliding unused function _dwarf_tvar_get_cast_15
Eliding unused function _dwarf_tvar_get_cast_16
Eliding unused function _dwarf_tvar_get_cast_17
Eliding unused function _dwarf_tvar_get_cast_18
Eliding unused function _dwarf_tvar_get_cast_19
Eliding unused function _dwarf_tvar_get_cast_8
Eliding unused function _dwarf_tvar_get_cast_9
Eliding unused function htonl
Eliding unused function htonll
Eliding unused function htons
Eliding unused function ntohl
Eliding unused function ntohll
Eliding unused function ntohs
Eliding unused function tcp_get_info_rto
Eliding unused function tcp_get_info_snd_cwnd
Eliding unused function tcp_sockopt_str
Eliding unused function tcp_sockstate_str
Eliding unused function tcp_ts_get_info_rcv_mss
Eliding unused function tcp_ts_get_info_snd_ssthresh
Eliding unused function tcp_ts_get_info_state
Eliding unused global variable sockstate
Eliding unused global variable sockstate_init_p
Eliding unused global variable sockopt
Eliding unused global variable sockopt_init_p
Eliding assignment to name at operator '=' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:268:7
Eliding assignment to sock at operator '=' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:269:10
Eliding assignment to size at operator '=' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:270:10
Eliding assignment to daddr at operator '=' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:272:10
Eliding side-effect-free expression identifier 'name' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:268:2
Eliding side-effect-free expression identifier 'sock' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:269:2
Eliding side-effect-free expression identifier 'size' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:270:2
Flattening nested block operator '{' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:267:52
Eliding side-effect-free singleton block operator '{' at share/doc/systemtap/examples/network/tcp.stp:11:19
Eliding side-effect-free singleton block operator '{' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/ip.stp:34:1
Eliding side-effect-free singleton block operator '{' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/ip.stp:28:1
Eliding side-effect-free singleton block operator '{' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:78:43
Eliding side-effect-free singleton block operator '{' at /home/diego/cÃdigo/systemtap/binarios/share/systemtap/tapset/tcp.stp:147:43
Eliding unused function _dwarf_tvar_get_len_1
Eliding unused function _dwarf_tvar_get_sk_0
Eliding unused local variable name in probe_1748
Eliding unused local variable sock in probe_1748
Eliding unused local variable size in probe_1748
Eliding unused local variable daddr in probe_1748
Changing _dwarf_tvar_get_sk_3 reference to _dwarf_tvar_get_sk_2 reference
Changing _dwarf_tvar_get_sk_4 reference to _dwarf_tvar_get_sk_2 reference
Changing _dwarf_tvar_get_sk_5 reference to _dwarf_tvar_get_sk_2 reference
Pass 2: analyzed script: 2 probe(s), 10 function(s), 2 embed(s), 0 global(s) in 620usr/60sys/694real ms.
probe_1748 locks nothing
stap_dwarf_probe module[7]
stap_dwarf_probe section[7]
stap_dwarf_probe pp[55]
dump_unwindsyms kernel index=0 base=0xffffffff80200000
Found build-id in kernel, length 20, end at 0xffffffff80578318
Found kernel _stext extra offset 0x9000
Pass 3: translated to C into "/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c" in 280usr/10sys/292real ms.
Running make -C "/lib/modules/2.6.30/build" M="/tmp/stappAJDNk" modules V=1
make: Entering directory `/home/diego/cÃdigo/linux'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/stappAJDNk/.tmp_versions ; rm -f /tmp/stappAJDNk/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/stappAJDNk
gcc -Wp,-MD,/tmp/stappAJDNk/.stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.3/include -Iinclude -I/home/diego/cÃdigo/linux/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -Iinclude2/asm/mach-default -include /tmp/stappAJDNk/stapconf_d549f94e2acc8e3e6a565fb4f50c4265_458.h -freorder-blocks -Wno-unused -Werror -I"/home/diego/cÃdigo/systemtap/binarios/share/systemtap/runtime" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(stap_81fde145f94951b89c4fc6f9e2a1c96f_3784)" -D"KBUILD_MODNAME=KBUILD_STR(stap_81fde145f94951b89c4fc6f9e2a1c96f_3784)" -c -o /tmp/stappAJDNk/.tmp_stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.o /tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:232:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:232:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:271:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:271:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:310:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:310:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:349:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:349:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:388:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:388:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:437:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:437:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:486:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:486:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:535:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:535:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:584:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:584:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:625:18: error: octal escape sequence out of range
/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:625:18: error: octal escape sequence out of range
In file included from /tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.c:1480:
/tmp/stappAJDNk/stap-symbols.h:73294:9: error: octal escape sequence out of range
/tmp/stappAJDNk/stap-symbols.h:73294:9: error: octal escape sequence out of range
make[1]: *** [/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.o] Error 1
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—