Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759422AbZFLUYR (ORCPT ); Fri, 12 Jun 2009 16:24:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754926AbZFLUYF (ORCPT ); Fri, 12 Jun 2009 16:24:05 -0400 Received: from mail-fx0-f216.google.com ([209.85.220.216]:59402 "EHLO mail-fx0-f216.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754604AbZFLUYD (ORCPT ); Fri, 12 Jun 2009 16:24:03 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=RN9okkMQ/GfnVZc4ZtU/BKU9iNDdteMEdFd36HjaWYs3Jf3L1V8OZObWbD5tBjuuUP ECmiAP1GfITglwr44GVUuRDB4ZV56E7h7lUeaBteVwVaAXcYVpde7+cqIdtqgtv8JmyB qRxXMN/27ujZHUlMfPBYdA8n97HuMTNvCnv10= From: Diego Calleja To: Josh Stone Subject: Re: SystemTap release 0.9.8 Date: Fri, 12 Jun 2009 22:28:43 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.30; KDE/4.2.2; x86_64; ; ) Cc: SystemTap , LKML , LWN References: <4A31A945.7010705@redhat.com> In-Reply-To: <4A31A945.7010705@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Disposition: inline Message-Id: <200906122228.43238.diegocg@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by alpha.home.local id n5CKOr54007062 Content-Length: 27625 Lines: 9 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, andI have never been able to run even the example scripts, there'salways something that breaks. So I must be doing something wrong,or there's something wrong somewhere. Here's the detailed outputor 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 thinksthat merging in the kernel tree userspace tools closely related to thekernel 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 rangeIn 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 rangemake[1]: *** [/tmp/stappAJDNk/stap_81fde145f94951b89c4fc6f9e2a1c96f_3784.o] Error 1????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?