summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofile.inc
Commit message (Collapse)AuthorAgeFilesLines
* oprofile: Fix with gcc6Khem Raj2016-05-131-1/+3
| | | | | | | (From OE-Core rev: 660556bee748e2f018760e5756237c54c24d41cd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Add nios2 supportMarek Vasut2016-02-111-1/+2
| | | | | | | | | | | | Add support for the nios2 architecture. (From OE-Core rev: a4292d508c2747d2543302404d877fff58f8b1d1) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: fix build with muslRoss Burton2016-01-241-0/+2
| | | | | | | | (From OE-Core rev: 0b1b091bcfee268773002e8f015ead77c9de953a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: 1.0.0 -> 1.1.0Robert Yang2015-08-301-2/+1
| | | | | | | | | | | | | | | | | | | | | * 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>
* oprofile: reorder SRC_URI lines to fix upstream version checkAlexander Kanavin2015-08-101-1/+2
| | | | | | | | | The source tarball should be listed first. (From OE-Core rev: 3f5d6405a0f4a5de14f7aebe430160c2256bf218) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: separate B and SRobert Yang2015-01-161-3/+2
| | | | | | | | | | And bump the PR to avoid: configure: error: source directory already configured; run "make distclean" there first (From OE-Core rev: c450175470e66e58095886a9b027a4a77fff38aa) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: disable documentationRoss Burton2015-01-161-1/+1
| | | | | | | | | | Seed the xsltproc detection with "not found" to avoid determinism races with the documentation which doesn't build correctly with our xsltproc. (From OE-Core rev: 7bca8658c55223bf4b6f691e4a66a18675a1f762) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: 0.9.9 -> 1.0.0Richard Purdie2014-11-091-1/+1
| | | | | | | | | | | | | | opcontrol is now dropped and replaced with the operf interface. As such, we drop the opstart/opstop commands and any patches related to the old removed interfaces. Some patches were also mered upstream so those are also dropped. There is also a problem found on mips with the security flags enabled, the patch has more specific details. (From OE-Core rev: 33b7885ecdc8774e34ac3534ec49fed6ffdb3916) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: use "foreign" automake strictnessRoss Burton2014-07-161-0/+1
| | | | | | | | | | oprofile doesn't want GNU-levels of automake strictness so tell it to be "foreign". (From OE-Core rev: 01943188f85ce6411717fb5bf702d609f55813f2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Determine the root home directory dynamicallyChong Lu2014-06-131-3/+2
| | | | | | | | | | | | | | | | | This commit detects the root home directory dynamically with changes to the opcontrol script and the oprofile gui app source. The commit replaces an earlier fix that detected and adjusted a 'non-standard' root home directory at build time. The advantage of this patch is that the oprofile tools are adjusted to the current run-time path to ~root, not the build time path. (From OE-Core rev: 4fa57b42aa7ec3f77606ab3d3b5814f638c859d5) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Add PTEST regression testing to oprofileChong Lu2014-06-101-2/+29
| | | | | | | | | | | | | | | | | | | | | The commit changes the oe-core oprofile recipe by adding the PTEST interface, implementing do_compile_ptest() and do_install_ptest(). The install routine adds several files that only the regression tests require. Also, a patch is necessary to inhibit executing the tests on the build host and to point to the correct target directory for the libutil++ test 'file-manip-tests'. That test requires the recipe to set SRCDIR in the build environment instead of determining the value from build-time host paths as for a self-hosted build. (From OE-Core rev: ac5a9835075a04726a64dbd669b9c89270b23865) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add missing pkgconfig class inheritsRichard Purdie2014-06-031-1/+1
| | | | | | | | | These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. (From OE-Core rev: 2543b14dd0ca13005be0df027543431fc8e882ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Update to 0.9.9Khem Raj2014-05-061-5/+1
| | | | | | | | | | | | Backport patches to fix with gcc 4.9 delete applied patches and obsoleted ones (From OE-Core rev: 9ef0ed510aff5e975fb6d8be9330a10172a5b5d8) (From OE-Core rev: 5b5016ed87bcc916d29fb7e1e3d23a600847c882) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Partially fix separate builddir supportRichard Purdie2014-03-051-1/+1
| | | | | | | | | It doesn't make separate build completely work but its worth merging as one step in the right direction. (From OE-Core rev: 2c4942ab36d66de9c189e8c116195f67f2894a08) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: avoid processing files under .pcTing Liu2013-02-011-2/+2
| | | | | | | | | | | | | | | Fix the below issue: | DEBUG: Executing shell function do_configure | sed: can't read ./.pc/opstart.patch/doc/opstop.1.in: Permission denied | sed: can't read ./.pc/opstart.patch/doc/opstart.1.in: Permission denied | sed: can't read ./.pc/opstart.patch/utils/opstart.c: Permission denied | ERROR: Function failed: do_configure (From OE-Core rev: d1003ea86543ce5d09c163db95e9e723aa1adc10) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: set correct kernel pathBogdan Marinescu2013-01-201-2/+2
| | | | | | | | | | | oprofile's "configure" was always looking at the configuration of the host kernel, not the target kernel. This patch instructs oprofile to use the target kernel to configure itself. (From OE-Core rev: 5892db9a34c188b8a9bdaa86e19ba62a7f4793b5) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: updated to 0.9.8Bogdan Marinescu2013-01-071-2/+1
| | | | | | | (From OE-Core rev: e8150e3941a471bf7e6d375595c15d54b809b15c) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: use dynamic root home directoryKang Kai2012-12-261-0/+1
| | | | | | | | | | | Use stub "ROOTHOME" to replace "/home/root" in oprofile-root.patch, then we can substitute it with configured root home directory. (From OE-Core rev: 584fc5abe4ea08a92eff691af42300b5a26d2755) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Include config.h before bfd.hKhem Raj2012-12-061-2/+2
| | | | | | | | | | | oprofile uses bfd.h from binutils which now in 2.23+ expects config.h so lets include it (From OE-Core rev: cd7aa7440103284a47b96ec176cace8685f720bb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Change /root to /home/rootMark Hatle2012-07-041-1/+2
| | | | | | | | | | | | OE uses /home/root instead of /root for the root user's directory. Update oprofile to match. Upstream-status: Inappropriate [OE Specific] (From OE-Core rev: d50c44585e72057532b8e0d9221ebf058e514672) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Update to 0.9.7 and convert cvs->gitSaul Wold2011-10-241-0/+35
(From OE-Core rev: 493e9aa7ba87b2d863ba91f8c5e01e2f92190fb1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>