Blob Blame History Raw
Fix BUG163976: Cannot profile IBS when build with OProfile-0.9.5 with option --with-oprofile

---

Index: src/ca/gui/oprofile_interface.cpp
===================================================================
--- src/ca/gui/oprofile_interface.cpp	(revision 16837)
+++ src/ca/gui/oprofile_interface.cpp	(working copy)
@@ -1144,15 +1144,16 @@
 	
 #if (OP_VERSION_BASE == 0x00903)
 	command = QString(OP_BINDIR) +
-			"opcontrol --help 2>&1 " +
+			"/opcontrol --help 2>&1 " +
 			"| grep ibs-fetch 2> /dev/null > /dev/null";
 	
 	ret = (system(command.ascii()) == 0)? true: false;
 #endif
 
 #if (OP_VERSION_BASE >= 0x00905)
+	
 	command = QString(OP_BINDIR) +
-			"oprofiled --help 2>&1 " +
+			"/oprofiled --help 2>&1 " +
 			"| grep ext-feature 2> /dev/null > /dev/null";
 	ret = (system(command.ascii()) == 0)? true: false;
 #endif