proc utrace_orig_p {} {
# We want utrace_attach (rhel5) or utrace_attach_task (rhel6), but don't
# get confused by the private module version of any active stap module.
- return [grep_kallsyms "T utrace_attach"]
+ return [expr [grep_kallsyms "T utrace_attach"] || [grep_kallsyms "T .utrace_attach_task"]]
}
fail "$test compile"
}
-if {[catch {exec stap $tpath.stp -c "$srcdir/$subdir/$test.sh"} res]} {
+if {[catch {exec stap -w $tpath.stp -c "$srcdir/$subdir/$test.sh"} res]} {
untested "$test longjmp to a uretprobed function"
verbose -log "$res"
catch {exec rm -f $test.out}