set stpfile "$srcdir/$subdir/$test.stp"
if {[installtest_p] && [uprobes_p]} {
- stap_run3 "$test" "$stpfile" $test.exe -c ./$test.exe
+ stap_run3 "$test" "$stpfile" -c ./$test.exe
} else {
untested "$test"
}
-probe process("cast-scope.exe").function("length")
+probe process.function("length@cast-scope.cxx")
{
println("function direct: ", $str$$)
println("function cast: ", @cast($str, "std::string")$$)
}
-probe process("cast-scope.exe").statement("length@cast-scope.cxx+1")
+probe process.statement("length@cast-scope.cxx+1")
{
println("statement direct: ", $str$$)
println("statement cast: ", @cast($str, "std::string")$$)
}
-probe process("cast-scope.exe").mark("length")
+probe process.mark("length")
{
println("mark cast: ", @cast($arg1, "std::string")$$)
}