From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 500 invoked by alias); 2 Mar 2006 05:58:53 -0000 Received: (qmail 489 invoked by uid 48); 2 Mar 2006 05:58:49 -0000 Date: Thu, 02 Mar 2006 05:58:00 -0000 Message-ID: <20060302055849.488.qmail@sourceware.org> From: "guanglei at cn dot ibm dot com" To: systemtap@sources.redhat.com In-Reply-To: <20060223094047.2387.guanglei@cn.ibm.com> References: <20060223094047.2387.guanglei@cn.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug kprobes/2387] system crash on ppc64/2.6.15.4 X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00679.txt.bz2 ------- Additional Comments From guanglei at cn dot ibm dot com 2006-03-02 05:58 ------- > Hmm, where did you put the #define? > > I get these warnings if I put it at the bottom of relayfs.h, but putting it at > the top, just above > > #ifdef RELAYFS_VERSION_GE_4 > #include > ... > > it works fine for me... the file I used: #ifndef _TRANSPORT_RELAYFS_H_ /* -*- linux-c -*- */ #define _TRANSPORT_RELAYFS_H_ #define RELAYFS_VERSION_GE_4 /** @file relayfs.h * @brief Header file for relayfs transport */ #ifdef RELAYFS_VERSION_GE_4 #include #else #include "../relayfs/linux/relayfs_fs.h" #endif /* RELAYFS_VERSION_GE_4 */ struct rchan *_stp_relayfs_open(unsigned n_subbufs, unsigned subbuf_size, int pid, struct dentry **outdir); void _stp_relayfs_close(struct rchan *chan, struct dentry *dir); #endif /* _TRANSPORT_RELAYFS_H_ */ So is it due to the gcc version? My gcc is: gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) I checked the codes, and it is just a warning of the assignment: int *ptr <--- static int *ptr But I met another problem, I use my testcase to stress test systemtap: -bash-3.00# ./test.sh -f lgl.cfg -I tapsets/tapsets1/ The tapsets is tapsets/tapsets1/ don't probe app : dbench TIMES : 1 TIMES : 2 probe app : dbench TIMES : 1 TIMES : 2 error opening file stpd_cpu0. ERROR: couldn't unlink percpu file stpd_cpu0: errcode = No such file or directory Do you have any ideas of such errors? I never met it before. I raise the MAXDSKIPPED when running my testcases -- http://sourceware.org/bugzilla/show_bug.cgi?id=2387 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.