aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofile
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-08-19 23:48:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:35:47 +0100
commitb5b3085d9d6a351a1de86f95d5c8ba28dbfbddbb (patch)
treee4fadd0bf9ff178ab5b26ef7a642d512cc969916 /meta/recipes-kernel/oprofile/oprofile
parent79431e873aee50b8e31b30af2c42ce7e0babcd2e (diff)
downloadopenembedded-core-contrib-b5b3085d9d6a351a1de86f95d5c8ba28dbfbddbb.tar.gz
oprofile: 1.0.0 -> 1.1.0
* Remove backport patch filemode-fix.patch. * Update --with-kernel=${STAGING_DIR_HOST}/${prefix} to find kernel headers (linux/*.h) to fix the error: | checking kernel supports perf_events... unknown -- perf_event.h not found | ERROR: You requested to build oprofile with '--with-kernel=/buildarea/lyang1/test_f2/tmp/work-shared/qemux86/kernel-source', | but headers were not accessible at the given location. | Be sure you have run the following command from within your kernel source tree: | make headers_install INSTALL_HDR_PATH=<kernel-hdrs-install-dir> | Then pass <kernel-hdrs-install-dir> to oprofile's '--with-kernel' configure option. | configure: error: Unable to build oprofile. Exiting. (From OE-Core rev: b2200152deef0aec3cd8fe55bb73d6e8fccfe159) (From OE-Core rev: 2dff13e834dc7b67e16ee597d7f9a3efdc72d10f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofile')
-rw-r--r--meta/recipes-kernel/oprofile/oprofile/filemode-fix.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile/filemode-fix.patch b/meta/recipes-kernel/oprofile/oprofile/filemode-fix.patch
deleted file mode 100644
index f7ebe24691..0000000000
--- a/meta/recipes-kernel/oprofile/oprofile/filemode-fix.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-With security_flags.inc:
-
-| In file included from /media/build1/poky/build/tmp/sysroots/qemumips/usr/include/fcntl.h:302:0,
-| from opjitconv.c:25:
-| In function 'open',
-| inlined from 'copy_dumpfile' at opjitconv.c:219:6:
-| /media/build1/poky/build/tmp/sysroots/qemumips/usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
-| __open_missing_mode ();
-| ^
-| Makefile:440: recipe for target 'opjitconv.o' failed
-
-Why does this only happen on mips? mips has:
-
-O_CREAT = 0x100
-and
-S_IRUSR = 0400
-
-and these (in hex and otcal) are equivalent. Most other platforms
-have O_CREAT = 0100.
-
-http://sourceforge.net/p/oprofile/oprofile/ci/4598ca73b0a367ca46d4a2843261e20e1896773b
-
-The file should not be created, only opened if its present, therefore use O_RDONLY instead.
-
-RP 2014/11/6
-
-Upstream-Status: Backport
-
-Index: oprofile-1.0.0/opjitconv/opjitconv.c
-===================================================================
---- oprofile-1.0.0.orig/opjitconv/opjitconv.c 2014-09-12 14:39:47.000000000 +0000
-+++ oprofile-1.0.0/opjitconv/opjitconv.c 2014-11-06 13:14:25.941639003 +0000
-@@ -216,7 +216,7 @@
- int file_locked = 0;
- unsigned int usecs_waited = 0;
- int rc = OP_JIT_CONV_OK;
-- int fd = open(dumpfile, S_IRUSR);
-+ int fd = open(dumpfile, O_RDONLY);
- if (fd < 0) {
- perror("opjitconv failed to open JIT dumpfile");
- return OP_JIT_CONV_FAIL;