Diff of /testsuite/oprofile-operf/oprofile-operf-run.exp [1b7455] .. [51a0cb]  Maximize  Restore

Switch to side-by-side view

--- a/testsuite/oprofile-operf/oprofile-operf-run.exp
+++ b/testsuite/oprofile-operf/oprofile-operf-run.exp
@@ -126,6 +126,9 @@
     if { $operf_version == 0 } {
 	send "\nThe OProfile operf user tool is not supported.  Will not run operf tests.\n"
     } else {
+	# Ensure that the oprofile kernel module is unloaded, since it can
+	# interfere with proper operf operation on some platforms.
+	local_exec "opcontrol --deinit" "" "" 100
 	# Make sure there are no samples from the opcontrol or operf laying
 	# around that opreport might inadvertenly pick up.
 	op_daemon_delete_any_samples

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks