| 1 |
Fix BUG163976: Cannot profile IBS when build with OProfile-0.9.5 with option --with-oprofile
|
| 2 |
|
| 3 |
---
|
| 4 |
|
| 5 |
Index: src/ca/gui/oprofile_interface.cpp
|
| 6 |
===================================================================
|
| 7 |
--- src/ca/gui/oprofile_interface.cpp (revision 16837)
|
| 8 |
+++ src/ca/gui/oprofile_interface.cpp (working copy)
|
| 9 |
@@ -1144,15 +1144,16 @@
|
| 10 |
|
| 11 |
#if (OP_VERSION_BASE == 0x00903)
|
| 12 |
command = QString(OP_BINDIR) +
|
| 13 |
- "opcontrol --help 2>&1 " +
|
| 14 |
+ "/opcontrol --help 2>&1 " +
|
| 15 |
"| grep ibs-fetch 2> /dev/null > /dev/null";
|
| 16 |
|
| 17 |
ret = (system(command.ascii()) == 0)? true: false;
|
| 18 |
#endif
|
| 19 |
|
| 20 |
#if (OP_VERSION_BASE >= 0x00905)
|
| 21 |
+
|
| 22 |
command = QString(OP_BINDIR) +
|
| 23 |
- "oprofiled --help 2>&1 " +
|
| 24 |
+ "/oprofiled --help 2>&1 " +
|
| 25 |
"| grep ext-feature 2> /dev/null > /dev/null";
|
| 26 |
ret = (system(command.ascii()) == 0)? true: false;
|
| 27 |
#endif
|