From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10195 invoked by alias); 6 Sep 2011 10:43:15 -0000 Received: (qmail 10185 invoked by uid 22791); 6 Sep 2011 10:43:14 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_JB X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Sep 2011 10:42:50 +0000 From: "phan at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/13155] New: tracepoints probe breakage Date: Tue, 06 Sep 2011 10:43:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: phan at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2011-q3/txt/msg00273.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D13155 Bug #: 13155 Summary: tracepoints probe breakage Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator AssignedTo: systemtap@sourceware.org ReportedBy: phan@redhat.com Classification: Unclassified I notice that ext3 and jbd tracepoints aren't available for current systemt= ap: # stap -p4 -e 'probe kernel.trace("*") {}' -w --vp 04 Pass 2: getting a tracepoint query for 1 headers: /lib/modules/2.6.32-195.el6.ppc64/build/include/trace/events/ext3.h Running make -C /lib/modules/2.6.32-195.el6.ppc64/build M=3D/tmp/stapf7FP1Y/tracequery_kmod_3 modules ARCH=3Dpowerpc V=3D1 make: Entering directory `/usr/src/kernels/2.6.32-195.el6.ppc64' test -e include/linux/autoconf.h -a -e include/config/auto.conf || (=20=20= =20=20=20=20=20=20=20=20=20 \ 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/stapf7FP1Y/tracequery_kmod_3/.tmp_versions ; rm -f /tmp/stapf7FP1Y/tracequery_kmod_3/.tmp_versions/* make -f scripts/Makefile.build obj=3D/tmp/stapf7FP1Y/tracequery_kmod_3 gcc -m64 -Wp,-MD,/tmp/stapf7FP1Y/tracequery_kmod_3/.tracequery_kmod_3.o.d= =20 -nostdinc -isystem /usr/lib/gcc/ppc64-redhat-linux/4.4.6/include -Iinclude= =20 -I/usr/src/kernels/2.6.32-195.el6.ppc64/arch/powerpc/include -include include/linux/autoconf.h -D__KERNEL__ -Iarch/powerpc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -msoft-float -pipe -Iarch/powerpc -mminimal-toc -mtraceback=3Dnone -mcall-aixdesc -mcpu=3Dpower4 -mno-altivec -mno-spe -mspe=3Dno -funit-at-a-time -mno-string -Wa,-maltivec -Wframe-larger-than=3D2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -g -Wno-implicit-function-declaration -Werror -I/usr/src/debug////////kernel-2.6.32-195.el6/linux-2.6.32-195.el6.ppc64=20 -DMODULE -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(tracequery_= kmod_3)" -D"KBUILD_MODNAME=3DKBUILD_STR(tracequery_kmod_3)" -D"DEBUG_HASH=3D26" -D"DEBUG_HASH2=3D39" -c -o /tmp/stapf7FP1Y/tracequery_kmod_3/.tmp_tracequery_kmod_3.o /tmp/stapf7FP1Y/tracequery_kmod_3/tracequery_kmod_3.c cc1: warnings being treated as errors In file included from /tmp/stapf7FP1Y/tracequery_kmod_3/tracequery_kmod_3.c= :29: include/trace/events/ext3.h:450: error: =E2=80=98struct ext3_reserve_window= _node=E2=80=99 declared inside parameter list include/trace/events/ext3.h:450: error: its scope is only this definition or declaration, which is probably not what you want include/trace/events/ext3.h:473: error: =E2=80=98struct ext3_reserve_window= _node=E2=80=99 declared inside parameter list include/trace/events/ext3.h:519: error: =E2=80=98struct ext3_reserve_window= _node=E2=80=99 declared inside parameter list make[1]: *** [/tmp/stapf7FP1Y/tracequery_kmod_3/tracequery_kmod_3.o] Error 1 make: *** [_module_/tmp/stapf7FP1Y/tracequery_kmod_3] Error 2 make: Leaving directory `/usr/src/kernels/2.6.32-195.el6.ppc64' Spawn waitpid result (0x200): 2 Warning: make exited with status: 2 and Pass 2: getting a tracepoint query for 1 headers: /lib/modules/2.6.32-195.el6.ppc64/build/include/trace/events/jbd.h Running make -C /lib/modules/2.6.32-195.el6.ppc64/build M=3D/tmp/stapf7FP1Y/tracequery_kmod_7 modules ARCH=3Dpowerpc V=3D1 make: Entering directory `/usr/src/kernels/2.6.32-195.el6.ppc64' test -e include/linux/autoconf.h -a -e include/config/auto.conf || (=20=20= =20=20=20=20=20=20=20=20=20 \ 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/stapf7FP1Y/tracequery_kmod_7/.tmp_versions ; rm -f /tmp/stapf7FP1Y/tracequery_kmod_7/.tmp_versions/* make -f scripts/Makefile.build obj=3D/tmp/stapf7FP1Y/tracequery_kmod_7 gcc -m64 -Wp,-MD,/tmp/stapf7FP1Y/tracequery_kmod_7/.tracequery_kmod_7.o.d= =20 -nostdinc -isystem /usr/lib/gcc/ppc64-redhat-linux/4.4.6/include -Iinclude= =20 -I/usr/src/kernels/2.6.32-195.el6.ppc64/arch/powerpc/include -include include/linux/autoconf.h -D__KERNEL__ -Iarch/powerpc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -msoft-float -pipe -Iarch/powerpc -mminimal-toc -mtraceback=3Dnone -mcall-aixdesc -mcpu=3Dpower4 -mno-altivec -mno-spe -mspe=3Dno -funit-at-a-time -mno-string -Wa,-maltivec -Wframe-larger-than=3D2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -g -Wno-implicit-function-declaration -Werror -I/usr/src/debug////////kernel-2.6.32-195.el6/linux-2.6.32-195.el6.ppc64=20 -DMODULE -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(tracequery_= kmod_7)" -D"KBUILD_MODNAME=3DKBUILD_STR(tracequery_kmod_7)" -D"DEBUG_HASH=3D34" -D"DEBUG_HASH2=3D39" -c -o /tmp/stapf7FP1Y/tracequery_kmod_7/.tmp_tracequery_kmod_7.o /tmp/stapf7FP1Y/tracequery_kmod_7/tracequery_kmod_7.c In file included from include/trace/events/jbd.h:7, from /tmp/stapf7FP1Y/tracequery_kmod_7/tracequery_kmod_7.c= :29: include/linux/jbd.h:102: error: redefinition of typedef =E2=80=98handle_t= =E2=80=99 include/linux/jbd2.h:96: note: previous declaration of =E2=80=98handle_t=E2= =80=99 was here include/linux/jbd.h:116: error: redefinition of typedef =E2=80=98journal_t= =E2=80=99 include/linux/jbd2.h:110: note: previous declaration of =E2=80=98journal_t= =E2=80=99 was here include/linux/jbd.h:143: error: redefinition of =E2=80=98struct journal_hea= der_s=E2=80=99 include/linux/jbd.h:147: error: conflicting types for =E2=80=98journal_head= er_t=E2=80=99 include/linux/jbd2.h:141: note: previous declaration of =E2=80=98journal_he= ader_t=E2=80=99 was here include/linux/jbd.h:154: error: redefinition of =E2=80=98struct journal_blo= ck_tag_s=E2=80=99 include/linux/jbd.h:157: error: conflicting types for =E2=80=98journal_bloc= k_tag_t=E2=80=99 include/linux/jbd2.h:179: note: previous declaration of =E2=80=98journal_bl= ock_tag_t=E2=80=99 was here include/linux/jbd.h:181: error: redefinition of =E2=80=98struct journal_sup= erblock_s=E2=80=99 include/linux/jbd.h:223: error: conflicting types for =E2=80=98journal_supe= rblock_t=E2=80=99 include/linux/jbd2.h:248: note: previous declaration of =E2=80=98journal_su= perblock_t=E2=80=99 was here In file included from include/trace/events/jbd.h:7, from /tmp/stapf7FP1Y/tracequery_kmod_7/tracequery_kmod_7.c= :29: include/linux/jbd.h:268:1: error: "__journal_expect" redefined In file included from /usr/src/debug////////kernel-2.6.32-195.el6/linux-2.6.32-195.el6.ppc64/fs/e= xt4/ext4.h:22, from /tmp/stapf7FP1Y/tracequery_kmod_7/tracequery_kmod_7.c= :26: include/linux/jbd2.h:299:1: error: this is the location of the previous definition include/linux/jbd.h:283: error: nested redefinition of =E2=80=98enum jbd_st= ate_bits=E2=80=99 include/linux/jbd.h:283: error: redeclaration of =E2=80=98enum jbd_state_bi= ts=E2=80=99 include/linux/jbd.h:285: error: redeclaration of enumerator =E2=80=98BH_JBD= =E2=80=99 include/linux/jbd2.h:317: note: previous definition of =E2=80=98BH_JBD=E2= =80=99 was here include/linux/jbd.h:286: error: redeclaration of enumerator =E2=80=98BH_JWr= ite=E2=80=99 include/linux/jbd2.h:318: note: previous definition of =E2=80=98BH_JWrite= =E2=80=99 was here include/linux/jbd.h:287: error: redeclaration of enumerator =E2=80=98BH_Fre= ed=E2=80=99 include/linux/jbd2.h:319: note: previous definition of =E2=80=98BH_Freed=E2= =80=99 was here include/linux/jbd.h:288: error: redeclaration of enumerator =E2=80=98BH_Rev= oked=E2=80=99 include/linux/jbd2.h:320: note: previous definition of =E2=80=98BH_Revoked= =E2=80=99 was here include/linux/jbd.h:289: error: redeclaration of enumerator =E2=80=98BH_Rev= okeValid=E2=80=99 include/linux/jbd2.h:321: note: previous definition of =E2=80=98BH_RevokeVa= lid=E2=80=99 was here include/linux/jbd.h:290: error: redeclaration of enumerator =E2=80=98BH_JBD= Dirty=E2=80=99 include/linux/jbd2.h:322: note: previous definition of =E2=80=98BH_JBDDirty= =E2=80=99 was here include/linux/jbd.h:291: error: redeclaration of enumerator =E2=80=98BH_Sta= te=E2=80=99 include/linux/jbd2.h:323: note: previous definition of =E2=80=98BH_State=E2= =80=99 was here include/linux/jbd.h:292: error: redeclaration of enumerator =E2=80=98BH_Jou= rnalHead=E2=80=99 include/linux/jbd2.h:324: note: previous definition of =E2=80=98BH_JournalH= ead=E2=80=99 was here include/linux/jbd.h:293: error: redeclaration of enumerator =E2=80=98BH_Uns= hadow=E2=80=99 include/linux/jbd2.h:325: note: previous definition of =E2=80=98BH_Unshadow= =E2=80=99 was here include/linux/jbd.h:296: error: redefinition of =E2=80=98set_buffer_jbd=E2= =80=99 include/linux/jbd2.h:329: note: previous definition of =E2=80=98set_buffer_= jbd=E2=80=99 was here include/linux/jbd.h:296: error: redefinition of =E2=80=98clear_buffer_jbd= =E2=80=99 include/linux/jbd2.h:329: note: previous definition of =E2=80=98clear_buffe= r_jbd=E2=80=99 was here include/linux/jbd.h:296: error: redefinition of =E2=80=98buffer_jbd=E2=80=99 include/linux/jbd2.h:329: note: previous definition of =E2=80=98buffer_jbd= =E2=80=99 was here include/linux/jbd.h:297: error: redefinition of =E2=80=98set_buffer_jwrite= =E2=80=99 include/linux/jbd2.h:330: note: previous definition of =E2=80=98set_buffer_= jwrite=E2=80=99 was here include/linux/jbd.h:297: error: redefinition of =E2=80=98clear_buffer_jwrit= e=E2=80=99 ... .... include/linux/jbd2.h:1286:1: error: this is the location of the previous definition In file included from include/trace/events/jbd.h:7, from /tmp/stapf7FP1Y/tracequery_kmod_7/tracequery_kmod_7.c= :29: include/linux/jbd.h:1091:1: error: "BJ_Types" redefined In file included from /usr/src/debug////////kernel-2.6.32-195.el6/linux-2.6.32-195.el6.ppc64/fs/e= xt4/ext4.h:22, from /tmp/stapf7FP1Y/tracequery_kmod_7/tracequery_kmod_7.c= :26: include/linux/jbd2.h:1287:1: error: this is the location of the previous definition make[1]: *** [/tmp/stapf7FP1Y/tracequery_kmod_7/tracequery_kmod_7.o] Error 1 make: *** [_module_/tmp/stapf7FP1Y/tracequery_kmod_7] Error 2 make: Leaving directory `/usr/src/kernels/2.6.32-195.el6.ppc64' Spawn waitpid result (0x200): 2 Warning: make exited with status: 2 Looks like the familiar problem of bug 9993. --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are the assignee for the bug.