This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/13478] New: ARM tapset/signal.stp signal.handle tries to use non-existing variable $signr
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 07 Dec 2011 15:15:13 +0000
- Subject: [Bug tapsets/13478] New: ARM tapset/signal.stp signal.handle tries to use non-existing variable $signr
- Auto-submitted: auto-generated
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.