From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22547 invoked by alias); 6 Mar 2012 15:56:18 -0000 Received: (qmail 22529 invoked by uid 22791); 6 Mar 2012 15:56:16 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Mar 2012 15:56:04 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q26Fu3NF016270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Mar 2012 10:56:03 -0500 Received: from fche.csb (vpn-8-232.rdu.redhat.com [10.11.8.232]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q26Fu2QX004129; Tue, 6 Mar 2012 10:56:02 -0500 Received: by fche.csb (Postfix, from userid 2569) id 0DE425815C; Tue, 6 Mar 2012 10:56:01 -0500 (EST) To: ch huang Cc: systemtap@sourceware.org Subject: Re: problem in User-Space Probing References: From: fche@redhat.com (Frank Ch. Eigler) Date: Tue, 06 Mar 2012 15:56:00 -0000 In-Reply-To: (ch huang's message of "Tue, 6 Mar 2012 11:17:28 +0800") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2012-q1/txt/msg00240.txt.bz2 ch huang writes: > [...] > /usr/local/share/systemtap/runtime/uprobes/uprobes.c: In function > 'uprobe_report_exec': > /usr/local/share/systemtap/runtime/uprobes/uprobes.c:2401: warning: > 'uproc' may be used uninitialized in this function > /usr/local/share/systemtap/runtime/uprobes/uprobes.c: In function > 'uprobe_report_exit': > /usr/local/share/systemtap/runtime/uprobes/uprobes.c:2101: warning: > 'uproc' may be used uninitialized in this function > i in process("/root/test").function("my_out@/root/test.c:4") It sounds like some overpicky compiler. Please try adding a = NULL; to those declarations on those source files. If it works for you, please send us that diff/patch to apply to the source tree. - FChE