diff --git a/repos/gems/run/cpu_sampler.run b/repos/gems/run/cpu_sampler.run
index 99a49ef249..e5746a5bef 100644
--- a/repos/gems/run/cpu_sampler.run
+++ b/repos/gems/run/cpu_sampler.run
@@ -48,27 +48,12 @@ install_config {
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -104,4 +89,4 @@ run_genode_until "$match_string" 10
regexp $match_string $output all func
-run_genode_until "\\\[init -> cpu_sampler -> samples -> init -> test-cpu_sampler -> ep\\\.1] \[0\]*$func" 2 [output_spawn_id]
+run_genode_until "\\\[init -> cpu_sampler -> samples -> test-cpu_sampler -> ep\\\.1] \[0\]*$func" 2 [output_spawn_id]
diff --git a/repos/gems/run/cpu_sampler_noux.run b/repos/gems/run/cpu_sampler_noux.run
index 138f43d7ad..c9f0cf3779 100644
--- a/repos/gems/run/cpu_sampler_noux.run
+++ b/repos/gems/run/cpu_sampler_noux.run
@@ -136,7 +136,7 @@ append config {
}
append_if [get_cmd_switch --autopilot] config {
- FILE=/samples/cpu_sampler/samples/init/test-cpu_sampler/ep.*.log
+ FILE=/samples/cpu_sampler/samples/test-cpu_sampler/ep.*.log
while true; do if [ -e $FILE ]; then cat $FILE; fi; done }
append_if [expr ![get_cmd_switch --autopilot]] config {
echo "The sample data will appear in the /samples directory" }
@@ -168,7 +168,7 @@ append config {
-
+
@@ -176,24 +176,9 @@ append config {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+