Commit Graph

74 Commits

Author SHA1 Message Date
Ross Burton 8f9f48a29a oprofileui: remove
oprofileui doesn't work anymore with not-so-recent changes to the oprofile
command line interface, and perf is becoming the expected profiling solution so
any future profiling tools should be using that instead.

(From OE-Core rev: 324f7cea3e73eb3f64cdfa221398797ddd2b50e9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15 18:05:21 +01:00
Khem Raj faf16fd051 oprofile: Fix with gcc6
(From OE-Core rev: 660556bee748e2f018760e5756237c54c24d41cd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-13 13:41:29 +01:00
Marek Vasut a1ad3d0587 oprofile: Add nios2 support
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>
2016-02-11 12:27:49 +00:00
Ross Burton 44e9c3b779 meta: fix capitalisation in Upstream-Status
(From OE-Core rev: 4084bd02796358abd432104607d9c6569a7e0238)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-26 22:31:59 +00:00
Ross Burton f2856a1212 oprofile: fix build with musl
(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>
2016-01-24 09:40:30 +00:00
Robert Yang 38f0ffaf43 meta: fix build with gettext 0.16.1
The gettext 0.16.1 doesn't install any m4 files to sysroot, please see
the following commit:

  commit 9e10db5bdf
  Author: Christopher Larson <kergoth@gmail.com>
  Date:   Mon Mar 17 18:10:54 2014 +0000

      gettext-0.16.1: kill target m4 macros from sysroot

This is aim for using gettext-native's macros(gettext-native-0.19.4),
but when we set:
  PREFERRED_VERSION_gettext = "0.16.1"
And build the recipes like pcmanfm, we would get errors when
do_configure:

configure:5164: error: possibly undefined macro: AM_NLS

This is because autotools_copy_aclocals doesn't copy the native macros
for target unless they're direct dependencies.

Add gettext-native to DEPENDS will fix the problem.

(From OE-Core rev: 48c168334bb60937653ab782026948d139603f8e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:34 +01:00
Richard Purdie 5bfcd13c07 classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+
If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you
see failures due to dependency problems. The work in resolving this was
partially completed a while back. This adds in the markup mainly for
gtk/gtk3+ recipes and means "bitbake world" will work successfully.

Rather than code the gtk/gtk+ specific distro features into each recipe,
a shared variable is used.

(From OE-Core rev: ef967c70182eeccb59c7511d838a7ecb0b2315c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:32 +01:00
Saul Wold 9337ce26f4 oprofileui: Use inherit gettext
oprofileui uses gettext during the configuration task so should be inherit
gettext. This issue appears when an older version of gettext is used do to
pinning to the older non-gplv3 version.

[YOCTO #7795]

(From OE-Core rev: 4734ebef1c5259791daba8ce2ce6dd4ddd5d087b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-06 15:26:23 +01:00
Robert Yang b5b3085d9d 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>
2015-08-30 12:35:47 +01:00
Alexander Kanavin aa8225f9d1 oprofile: reorder SRC_URI lines to fix upstream version check
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>
2015-08-10 12:40:31 -07:00
Robert Yang 0c498a7843 oprofile: separate B and S
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>
2015-01-16 23:08:26 +00:00
Ross Burton ca133bcbd1 oprofile: disable documentation
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>
2015-01-16 23:08:19 +00:00
Ross Burton 3c55f44c23 oprofile: add missing Upstream-Status
(From OE-Core rev: 77367e78aa6e2edce2a7837c7d28aa74f6ef2d8b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-19 18:08:02 +00:00
Richard Purdie 3c741a8d33 oprofile: 0.9.9 -> 1.0.0
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>
2014-11-09 10:21:24 +00:00
Joe Slater b186c4a1fc oprofile: eliminate git recipe
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.

(From OE-Core rev: 0ef8390425ef5722c00074e962e64e70b7ff8598)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-30 14:10:35 +01:00
Robert Yang cdfc515086 valgrind/oprofile/systemd: no bashism in run-ptest
There is no bashism in the scripts, so use /bin/sh, and add /bin/sh
interpreter for systemd's run-ptest.

(From OE-Core rev: 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-28 15:12:44 +01:00
Ting Liu 348102a03d oprofile: backport two patches to support e500mc/e6500
(From OE-Core rev: 687cfed641e6ce3d7e2de7e7b8ed55e0324743a6)

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-19 00:09:02 +01:00
Ross Burton 68d1ee3182 oprofile: use "foreign" automake strictness
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>
2014-07-16 10:31:17 +01:00
Chong Lu f51c639f99 oprofile: Determine the root home directory dynamically
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>
2014-06-13 12:31:38 +01:00
Chong Lu df956a6dcd oprofile: Add PTEST regression testing to oprofile
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>
2014-06-10 17:24:18 +01:00
Richard Purdie 5c8effaa72 oprofileui-server/oprofileui/pcmanfm: Add missing intltool-native DEPENDS
These recipes all require intltool-native to build but were missing
a dependency on it.

(From OE-Core rev: 3c5fdd10c3fe70d650469556b501055ebaecd628)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-03 16:49:19 +01:00
Richard Purdie e5cf31cf93 recipes: Add missing pkgconfig class inherits
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>
2014-06-03 16:49:19 +01:00
Khem Raj 5f897ef09c oprofile: Update to 0.9.9
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>
2014-05-06 17:59:15 +01:00
Saul Wold ec9f2cba8e oprofileui*: Update to latest git
(From OE-Core rev: 9082b6fc73c7e4c9d73b988674bb9c09b693cf12)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30 16:39:07 +01:00
Adrian Calianu a111ca6c81 oprofileui-server_git: add avahi-daemon to RDEPENDS list
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

(From OE-Core rev: 1163b6e619102bea08c429e49a4792abfa234c1c)

Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24 17:55:13 +01:00
Richard Purdie c2a17dcc86 oprofile: Partially fix separate builddir support
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>
2014-03-05 15:50:19 +00:00
Richard Purdie 069de520ec autotools-brokensep: Mark recipes with broken separate build dir support
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>
2014-02-28 14:01:16 +00:00
Chen Qi 85b3ba930d Revert "Add missing RDEPENDS of initscripts-functions"
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 16080a3485.

(From OE-Core rev: f9f193219bd510160b6b09bae652a9dc8ea01e7b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02 11:22:11 +00:00
Chen Qi 16080a3485 Add missing RDEPENDS of initscripts-functions
Now that the initscripts-functions has been packaged separately,
packages which may use the functions script should have a runtime
dependency on it.

(From OE-Core rev: 6690c12cb1977f6bf93f3eb6d471dbd7db81bf28)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-06 22:17:28 +00:00
Paul Eggleton 63819fba7c Replace OpenedHand Bugzilla in BUGTRACKER
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.

(From OE-Core rev: 4be5a258872f4d8b94a6215a455e7bd992db17f5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02 12:50:15 +00:00
Ross Burton 8f650f2e2c oprofileui-server: use two digit initscript sequene
initscript sequence numbers are 00-99, so using 999 resulted in systemd warning
that it couldn't find "9oprofileui-server".

(From OE-Core rev: dac7dd70eb7a55ada5fdfc224aba5bac7c49f63f)

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-22 12:19:42 +01:00
Muhammad Shakeel 27bb9d0a90 oprofileui-server: Add systemd support
-Remove dependency on meta-systemd

(From OE-Core rev: 177bf318bcd3dd2bfb3bec094b1f5ccac7bdd9ac)

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-09-14 08:29:41 +01:00
Jackie Huang 88c5e10d62 remove the unnecessary protocol parameters
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.

(From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-30 16:23:46 +01:00
Zhenhua Luo 16e1e1fa2d oprofile: add Upstream-Status for several patches
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

(From OE-Core rev: 357e850115e802e6b32c8163c3bf6620f6cb3531)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18 21:23:45 +01:00
Saul Wold ea89950ba8 Upstream-Status: Correct Capitalization
(From OE-Core rev: 43b2a2f375e2201be7a9bb6a9c5c0a9fc61f3361)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12 09:37:31 +01:00
Bogdan Marinescu 1abffd2ac8 oprofileui(-server): upgraded to GIT revision f168b8bf
'obsolete_automake_macros.patch' is not needed anymore, because it
was integrated in the specified commit.

(From OE-Core rev: 4c7120a24cef2ff6b9df821c69153363c938ac77)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09 08:51:13 +01:00
Richard Purdie cde94ffbd0 oprofile: Add Upstream-Status and description to patch
(From OE-Core rev: 6af6df6c6507cae61dbd9d6994ff4162b54df451)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-12 18:33:29 +01:00
Matthew McClintock e3bf3d2ff1 oprofile: update patch for powerpc64
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

(From OE-Core rev: 2792e1f6a1d8969e0891334e6cd4e04f84f7e9ff)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-05 13:14:52 +00:00
Marko Lindqvist 05ad246866 oprofileui-server: replace obsolete automake macros with working ones
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.

(From OE-Core rev: 254799258ead1b7a59c301ad2d3e3c7e5b9fb8db)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-22 06:09:20 -08:00
Matthew McClintock f1dc17dc32 oprofile: fix cross compile on powerpc and add libpfm4 dep
Fixes [YOCTO #3717]

(From OE-Core rev: 88959e42411a40b15fe8907da00a97a7732a9cc1)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-06 09:37:26 +00:00
Tom Zanussi 8b8caef629 oprofile: remove AX_KERNEL_VERSION from acinclude.m4
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)

(From OE-Core rev: 6fac31c7930e228efe5fed978964885e37a4da80)

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-01 15:54:29 +00:00
Tom Zanussi e771031453 oprofile: add kernel dependency
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)

(From OE-Core rev: 16bc366877a2e02d96adb91b90e30710777e6f09)

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-01 15:54:29 +00:00
Ting Liu f651a84abb oprofile: avoid processing files under .pc
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>
2013-02-01 15:53:59 +00:00
Matthew McClintock 4de6f9b17c oprofile: backport patches to fix ppc build issues
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]

(From OE-Core rev: 121cb96964fe2f374d814bf39036119bd63b9589)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-21 10:22:08 +00:00
Bogdan Marinescu be2a1508b1 oprofile: set correct kernel path
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>
2013-01-20 13:14:08 +00:00
Marcin Juszkiewicz 9f263a60e3 oprofile: add AArch64 support
(From OE-Core rev: 169b9afcf2d357fdcf254a380d21d17701685834)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-16 16:10:39 +00:00
Bogdan Marinescu c7041c713f oprofile: updated to 0.9.8
(From OE-Core rev: e8150e3941a471bf7e6d375595c15d54b809b15c)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07 14:30:50 +00:00
Kang Kai 845c2c0bd5 oprofile: use dynamic root home directory
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>
2012-12-26 11:34:07 +00:00
Khem Raj 0333796a6b oprofile: Include config.h before bfd.h
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>
2012-12-06 12:31:01 +00:00
Saul Wold c9f93420c2 oprofileui: Add Icons to oprofileui-viewer package
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

(From OE-Core rev: b5683038d36fce49abebe44ec4212a5d128b5668)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14 09:50:25 +01:00