[Bug testsuite/34120] Commit e6ce81724a broke buildok/nested_vars.stp on RHEL
mcermak at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Apr 30 13:53:58 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=34120
--- Comment #1 from Martin Cermak <mcermak at redhat dot com> ---
Similarly the following hunk of the same commit broke buildok/twentyseven.stp:
diff --git a/testsuite/buildok/twentyseven.stp
b/testsuite/buildok/twentyseven.stp
index 62900f3b6..1e15c11c0 100755
--- a/testsuite/buildok/twentyseven.stp
+++ b/testsuite/buildok/twentyseven.stp
@@ -1,6 +1,6 @@
#! stap -p4
-probe kernel.function("do_execve")
+probe kernel.function("do_execve") ?, kernel.function("*sys_execve") ?
{
print(@defined($__argv) ? $__argv[0] : $argv[0])
}
Like this:
el9 x86_64 # stap -w -g -vp4 testsuite/buildok/twentyseven.stp |& head -30
Pass 1: parsed user script and 494 library scripts using
573940virt/127716res/15860shr/144356data kb, in 400usr/160sys/200real ms.
semantic error: unable to find local 'argv', [man error::dwarf] dieoffset
0x3ff0821 in kernel, near pc 0xffffffff8149e1d0 in __x64_sys_execve fs/exec.c
(alternatives: $regs)): identifier '$argv' at
testsuite/buildok/twentyseven.stp:5:42
source: print(@defined($__argv) ? $__argv[0] : $argv[0])
^
semantic error: unresolved type : identifier '$argv' at :5:42
source: print(@defined($__argv) ? $__argv[0] : $argv[0])
^
semantic error: unresolved type : identifier 'print' at :5:3
source: print(@defined($__argv) ? $__argv[0] : $argv[0])
^
semantic error: unable to find local 'argv', [man error::dwarf] dieoffset
0x3ff06cf in kernel, near pc 0xffffffff8149e120 in __ia32_sys_execve fs/exec.c
(alternatives: $regs)): identifier '$argv' at :5:42
source: print(@defined($__argv) ? $__argv[0] : $argv[0])
^
semantic error: unresolved type : identifier '$argv' at :5:42
source: print(@defined($__argv) ? $__argv[0] : $argv[0])
^
semantic error: unresolved type : identifier 'print' at :5:3
source: print(@defined($__argv) ? $__argv[0] : $argv[0])
^
semantic error: unable to find local 'argv', [man error::dwarf] dieoffset
0x3ff011e in kernel, near pc 0xffffffff8149e060 in __ia32_compat_sys_execve
fs/exec.c (alternatives: $regs)): identifier '$argv' at :5:42
source: print(@defined($__argv) ? $__argv[0] : $argv[0])
^
semantic error: unresolved type : identifier '$argv' at :5:42
el9 x86_64 #
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list