From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20943 invoked by alias); 7 Dec 2011 15:15:35 -0000 Received: (qmail 20901 invoked by uid 22791); 7 Dec 2011 15:15:31 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Dec 2011 15:15:17 +0000 From: "mjw at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/13478] New: ARM tapset/signal.stp signal.handle tries to use non-existing variable $signr Date: Wed, 07 Dec 2011 15:20:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mjw 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" 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-q4/txt/msg00305.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13478 Bug #: 13478 Summary: ARM tapset/signal.stp signal.handle tries to use non-existing variable $signr Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tapsets AssignedTo: systemtap@sourceware.org ReportedBy: mjw@redhat.com Classification: Unclassified tapset/signal.stp signal.handle probe seems to try to use the variable $signr for the kernel function handle_signal that isn't there on ARM: probe signal.handle = kernel.function("handle_rt_signal64") ?, kernel.function("handle_rt_signal32") ?, kernel.function("handle_signal32") !, kernel.function("handle_signal") { name = "handle" if (@defined($sig)) { sig = $sig sig_name = _signal_name($sig) } else { sig = $signr sig_name = _signal_name($signr) } ... } Running /root/systemtap/testsuite/buildok/process_test.stp starting /root/systemtap/testsuite/buildok/process_test.stp spawn1 stap -p4 /root/systemtap/testsuite/buildok/process_test.stp spawn stap -p4 /root/systemtap/testsuite/buildok/process_test.stp semantic error: unable to find local 'signr' near pc 0xc0059a54 in handle_signal arch/arm/kernel/signal.c ( (alternatives: $regs $oldset $info $ka $sig): identifier '$signr' at /root/install/share/systemtap/tapset/signal.stp:606:15 semantic error: unable to find local 'signr' near pc 0xc0059a54 in handle_signal arch/arm/kernel/signal.c ( (alternatives: $regs $oldset $info $ka $sig): identifier '$signr' at /root/install/share/systemtap/tapset/signal.stp:606:15 source: sig = $signr source: sig = $signr ^ ^ semantic error: unable to find local 'signr' near pc 0xc0059a54 in handle_signal arch/arm/kernel/signal.c ( (alternatives: $regs $oldset $info $ka $sig): identifier '$signr' at :607:33 semantic error: unable to find local 'signr' near pc 0xc0059a54 in handle_signal arch/arm/kernel/signal.c ( (alternatives: $regs $oldset $info $ka $sig): identifier '$signr' at :607:33 source: sig_name = _signal_name($signr) source: sig_name = _signal_name($signr) ^ ^ semantic error: unresolved type : identifier 'sig' at :606:9 semantic error: unresolved type : identifier 'sig' at :606:9 source: sig = $signr source: sig = $signr ^ ^ semantic error: unresolved type : identifier 'sig' at /root/systemtap/testsuite/buildok/process_test.stp:43:14 semantic error: unresolved type : identifier 'sig' at /root/systemtap/testsuite/buildok/process_test.stp:43:14 source: log(sprint(sig)) source: log(sprint(sig)) ^ ^ semantic error: unresolved type : identifier 'sprint' at :43:7 semantic error: unresolved type : identifier 'sprint' at :43:7 source: log(sprint(sig)) source: log(sprint(sig)) ^ ^ semantic error: unresolved type : identifier 'log' at :43:3 semantic error: unresolved type : identifier 'log' at :43:3 source: log(sprint(sig)) source: log(sprint(sig)) ^ semantic error: unresolved type : identifier 'sig' at /root/install/share/systemtap/tapset/signal.stp:602:9 ^ semantic error: unresolved type : identifier 'sig' at /root/install/share/systemtap/tapset/signal.stp:602:9 source: sig = $sig source: sig = $sig ^ Pass 2: analysis failed. Try again with another '--vp 01' option. ^ Pass 2: analysis failed. Try again with another '--vp 01' option. wait results: 32537 exp16 0 1 FAIL: buildok/process_test.stp -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.