/[pkgs]/devel/CodeAnalyst-gui/ca-fix-oprofile-ibs-check.patch
ViewVC logotype

Contents of /devel/CodeAnalyst-gui/ca-fix-oprofile-ibs-check.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Jul 20 18:25:23 2009 UTC (4 months ago) by suravee
Branch: MAIN
CVS Tags: F-12-split, CodeAnalyst-gui-2_8_54-17_fc12, CodeAnalyst-gui-2_8_54-18_fc12, CodeAnalyst-gui-2_8_54-19_fc12, CodeAnalyst-gui-2_8_54-20_fc13, HEAD
File MIME type: text/x-patch
- Bump revision number
- Add patch to fix basename issue when building on newer gcc
- Add patch to fix IBS feature checking in OProfile-0.9.5
- Add patch to force using -lbfd
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

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2