summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile
AgeCommit message (Collapse)Author
2014-09-29oprofile: eliminate git recipeJoe Slater
oprofile_git.bb does not unpack because it stills uses INC_PR, which is no longer expanded. If one fixes that, patching fails. Since there is another, later, version oprofile recipe, we might just as well get rid of this one. Signed-off-by: Joe Slater <jslater@windriver.com>
2014-08-28valgrind/oprofile/systemd: no bashism in run-ptestRobert Yang
There is no bashism in the scripts, so use /bin/sh, and add /bin/sh interpreter for systemd's run-ptest. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-19oprofile: backport two patches to support e500mc/e6500Ting Liu
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-16oprofile: use "foreign" automake strictnessRoss Burton
oprofile doesn't want GNU-levels of automake strictness so tell it to be "foreign". Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-13oprofile: Determine the root home directory dynamicallyChong Lu
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. 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>
2014-06-10oprofile: Add PTEST regression testing to oprofileChong Lu
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. 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>
2014-06-03oprofileui-server/oprofileui/pcmanfm: Add missing intltool-native DEPENDSRichard Purdie
These recipes all require intltool-native to build but were missing a dependency on it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-03recipes: Add missing pkgconfig class inheritsRichard Purdie
These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-05oprofile: Update to 0.9.9Khem Raj
Backport patches to fix with gcc 4.9 delete applied patches and obsoleted ones (From OE-Core rev: 9ef0ed510aff5e975fb6d8be9330a10172a5b5d8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30oprofileui*: Update to latest gitSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-04-24oprofileui-server_git: add avahi-daemon to RDEPENDS listAdrian Calianu
oprofileui-server recipe depends on avahi recipe. But avahi recipe generates more packages and one of those packages(avahi-daemon) which oprofileui-server expected to be available is not found into image. A runtime dependency of oprofileui-server on avahi-daemon is required. Upstream-Status: Pending Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-05oprofile: Partially fix separate builddir supportRichard Purdie
It doesn't make separate build completely work but its worth merging as one step in the right direction. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02Revert "Add missing RDEPENDS of initscripts-functions"Chen Qi
Instead of manually adding initscripts to RDEPENDS of each package, we should make it automatically handled by the update-rc.d.bbclass. This solution would have the benefit of backward compatibility. In other words, users need not modify their recipes. This reverts commit 16080a3485bd793edd66ed8361f1e8b86a9e19ea. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-06Add missing RDEPENDS of initscripts-functionsChen Qi
Now that the initscripts-functions has been packaged separately, packages which may use the functions script should have a runtime dependency on it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02Replace OpenedHand Bugzilla in BUGTRACKERPaul Eggleton
This site no longer exists, and all of these are now (semi-)maintained on yoctoproject.org infrastructure, so set BUGTRACKER to point to the Yocto Project Bugzilla. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-20oprofileui-server: use two digit initscript sequeneRoss Burton
initscript sequence numbers are 00-99, so using 999 resulted in systemd warning that it couldn't find "9oprofileui-server". Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-14oprofileui-server: Add systemd supportMuhammad Shakeel
-Remove dependency on meta-systemd Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-30remove the unnecessary protocol parametersJackie Huang
It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18oprofile: add Upstream-Status for several patchesZhenhua Luo
Add "Upstream-Status: Accepted" for below patches: * meta/recipes-kernel/oprofile/oprofile/0001-Allow-ppc64-events-to-be-specified-with-or-without-_.patch * meta/recipes-kernel/oprofile/oprofile/0001-Fix-PPC64-specific-libpfm-usage-so-it-doesn-t-break-.patch * meta/recipes-kernel/oprofile/oprofile/0001-ophelp-lists-events-Fix-doc-URL-for-ppc64-arch.patch Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-12Upstream-Status: Correct CapitalizationSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-09oprofileui(-server): upgraded to GIT revision f168b8bfBogdan Marinescu
'obsolete_automake_macros.patch' is not needed anymore, because it was integrated in the specified commit. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-12oprofile: Add Upstream-Status and description to patchRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-04oprofile: update patch for powerpc64Matthew McClintock
This is a more appropriate follow up patch from upstream. Also, only powerpc64 requires libpfm4 currently for this specific version of oprofile (x86, sparc can make use of libpfm but don't make use of it here) Additionally, this patch from upstream requires some more patches to be pulled into oprofile Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-22oprofileui-server: replace obsolete automake macros with working onesMarko Lindqvist
Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already present. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-06oprofile: fix cross compile on powerpc and add libpfm4 depMatthew McClintock
Fixes [YOCTO #3717] Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-01oprofile: remove AX_KERNEL_VERSION from acinclude.m4Tom Zanussi
The version of this macro in acinclude.m4 is preventing the correct version in the package's kernelversion.m4 from being used. Since the version in acinclude.m4 includes the obsolete config.h, any test that uses it with newer (> 2.6.19) kernels fails. In the case of oprofile it means that perf_events support is never detected and thus 'legacy oprofile' is always built. Fixing this allows the new perf_events 'operf' support to be built. Fixes [YOCTO #3447] (From OE-Core rev: 3f7f17894c097ebaa81055c8449c543b734df541) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01oprofile: add kernel dependencyTom Zanussi
oprofile-0.9.8 adds 'operf' which depends on the kernel's perf_events subsystem to be present when building, which adds the kernel dependency that we specify in a new DEPENDS for oprofile-0.9.8. (From OE-Core rev: d4dd1eaf75ef3d494d16ed2561e3ff4f5928a428) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01oprofile: avoid processing files under .pcTing Liu
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 Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-21oprofile: backport patches to fix ppc build issuesMatthew McClintock
Fixes: | operf_utils.cpp: In function 'bool _op_get_event_codes(std::vector*)': | operf_utils.cpp:151:21: error: 'pfm_initialize' was not declared in this scope | operf_utils.cpp:151:26: error: 'PFM_SUCCESS' was not declared in this scope | operf_utils.cpp:166:45: error: 'PFM_PLM3' was not declared in this scope | operf_utils.cpp:166:55: error: 'PFM_OS_NONE' was not declared in this scope | operf_utils.cpp:166:72: error: 'pfm_get_os_event_encoding' was not declared in this scope | operf_utils.cpp:167:14: error: 'PFM_SUCCESS' was not declared in this scope [YOCTO #3717] Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-20oprofile: set correct kernel pathBogdan Marinescu
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. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-16oprofile: add AArch64 supportMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07oprofile: updated to 0.9.8Bogdan Marinescu
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-25oprofile: use dynamic root home directoryKang Kai
Use stub "ROOTHOME" to replace "/home/root" in oprofile-root.patch, then we can substitute it with configured root home directory. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-05oprofile: Include config.h before bfd.hKhem Raj
oprofile uses bfd.h from binutils which now in 2.23+ expects config.h so lets include it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-14oprofileui: Add Icons to oprofileui-viewer packageSaul Wold
Fixes the following warning: WARNING: QA Issue: oprofileui: Files/directories were installed but not shipped /usr/share/icons /usr/share/icons/hicolor /usr/share/icons/hicolor/16x16 /usr/share/icons/hicolor/32x32 /usr/share/icons/hicolor/48x48 /usr/share/icons/hicolor/24x24 /usr/share/icons/hicolor/scalable /usr/share/icons/hicolor/22x22 /usr/share/icons/hicolor/16x16/apps /usr/share/icons/hicolor/16x16/apps/oprofile-viewer.png /usr/share/icons/hicolor/32x32/apps /usr/share/icons/hicolor/32x32/apps/oprofile-viewer.png /usr/share/icons/hicolor/48x48/apps /usr/share/icons/hicolor/48x48/apps/oprofile-viewer.png /usr/share/icons/hicolor/24x24/apps /usr/share/icons/hicolor/24x24/apps/oprofile-viewer.png /usr/share/icons/hicolor/scalable/apps /usr/share/icons/hicolor/scalable/apps/oprofile-viewer.svg /usr/share/icons/hicolor/22x22/apps /usr/share/icons/hicolor/22x22/apps/oprofile-viewer.png Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03oprofileui-server: move initscript from qemu-configPaul Eggleton
The qemu-config initscript was only starting oprofile-server, so move it to the oprofileui-server recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03oprofileui: split server to separate recipe to avoid X11 dependencyPaul Eggleton
Increase SRCREV to include an upstream patch that fixes the configure script so that the server can be built separately without gtk+ and avahi-ui, and create a separate recipe for the server. Also fix the RDEPENDS so that oprofile actually gets pulled in by the client and the server. Part of the fix for [YOCTO #1690]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04oprofile: Change /root to /home/rootMark Hatle
OE uses /home/root instead of /root for the root user's directory. Update oprofile to match. Upstream-status: Inappropriate [OE Specific] Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-01-03oprofileui: upgrade to 82ecf8c6b53b84f80682a8312f9defa83a95f2a3Shane Wang
This patch removed two patches because those are there in the upstream. Signed-off-by: Shane Wang <shane.wang@intel.com>
2011-10-24oprofile: Update to 0.9.7 and convert cvs->gitSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-30oprofileui: Update SRCREV to reflect recent accpeted patches by upstreamZhai Edwin
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-28oprofileui: remove dependence on gnome-vfsZhai Edwin
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-09-21oprofileui: Change avahi to avahi-ui dependsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-08-23recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj
Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-20oprofile: Fix build when query_module is not thereKhem Raj
on 2.6 kernels we do not have query_module so warn about it Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-05oprofile: Fix QA warningsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22gnome-vfs: remove gnome-vfs as it is deprecated in favour of GVFS and GIOZhai Edwin
Remove unnecessary dependency via configure option and make oprofileui use GIO Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-05-12recpies: add Upstream-Status for multiple recipes' patchesDexuan Cui
tcf-agent: update its patch's Upstream-Status screen: update its patch's Upstream-Status which (GPLv2): update its patch's Upstream-Status gnome-vfs: update its patch's Upstream-Status libart-lgpl: update its patch's Upstream-Status librsvg: update its patch's Upstream-Status fontconfig: update its patch's Upstream-Status freetype: update its patch's Upstream-Status libxsettings-client: update its patch's Upstream-Status libxcb: update its patch's Upstream-Status libx11: update its patch's Upstream-Status - remove 2 unused xim.patch. libx11-trim: update its patch's Upstream-Status libxcalibrate: update its patch's Upstream-Status libxcomposite: update its patch's Upstream-Status libxfont: update its patch's Upstream-Status xtrans: update its patch's Upstream-Status - remove abstract_socket_fix.patch as it's not used at all for long. calibrateproto: update its patch's Upstream-Status latencytop: update its patch's Upstream-Status powertop: update its patch's Upstream-Status settings-daemon: update its patch's Upstream-Status gnome-settings-daemon: update its patch's Upstream-Status libxklavier: update its patch's Upstream-Status liblbxutil: update its patch's Upstream-Status oprofile: update its patch's Upstream-Status and remove an unused patch - delete xml_callgraph_details.patch as it's not used at all. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-05-04poky-default-revisions: move the SRCREV to recipe fileYu Ke
in this case, those non poky distro can also use these recipe normally Signed-off-by: Yu Ke <ke.yu@intel.com>