Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /testsuite/oprofile-operf/oprofile-operf-run.exp [63fb4a] .. [533c95] Maximize Restore

  Switch to side-by-side view

--- a/testsuite/oprofile-operf/oprofile-operf-run.exp
+++ b/testsuite/oprofile-operf/oprofile-operf-run.exp
@@ -175,7 +175,11 @@
     if { $operf_version == 0} {
 	send "\nThe OProfile operf user tool is not supported.  Will not run operf tests.\n"
     } else {
+	# Make sure there are no samples from the opcontrol or operf laying
+	# around that opreport might inadvertenly pick up.
+	op_daemon_delete_any_samples
 	operf_delete_samples
+
 	oprofile-operf_run_tests
     }
 }