summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
Commit message (Collapse)AuthorAgeFilesLines
...
* perf: rename perf.inc to perf-features.incTom Zanussi2013-03-102-1/+1
| | | | | | | | | | | | The contents of perf.inc are really specific to perf features and shouldn't use the generic perf.inc name, which implies common recipe code. It's always confusing to open up this file and find out that's not what it is. (From OE-Core rev: 4a98bd02ab8918e639353829b221b0c4b6c58165) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: disable PARALLEL_MAKETom Zanussi2013-03-051-0/+2
| | | | | | | | | | | | | | Autobuilder builds periodically and now more frequently have been failing because of a race between the perf build and the newly separated libtraceevent - perf tries to link libtraceevent.a, which hasn't finished building yet in those cases. This disables the parallel build to prevent that. (From OE-Core rev: cd1e98513016c01e32bdb175ec7225d7378d952c) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add bash dependencyTom Zanussi2013-03-021-1/+1
| | | | | | | | | | | | | | There are a number of scripts in the perf installation that use bash, so we need to add a run-time dependency on bash for them. If not, we can generate build errors like "no package provides /bin/bash". Fixes [YOCTO #3951]. (From OE-Core rev: 8169adeba67180f062fa7c0105fc4283da3103c6) 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>
* iperf: pass in target path varsFahad Usman2012-12-171-0/+11
| | | | | | | | | | | | | | | | (From OE-Core rev: accbcea94091800a90df0f5141990c110ff35ee5) Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id 71748b54694f4ffe2d598da71f641969df1417c0 slightly modified the patch to apply it on .bb file instead of .bbappend Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: pass CFLAGS and LDFLAGSFahad Usman2012-12-171-1/+9
| | | | | | | | | | | | | | (From OE-Core rev: 373371432b72cb19600a45e741afdfcb9662ecfb) Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id 9d698004137c1a888d40d6a4808d94afa22387e7 Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: kill -WerrorFahad Usman2012-12-171-1/+5
| | | | | | | | | | | | | | | | | | this fails to build using a recent sourcery toolchain due to unused-but-set-variable (From OE-Core rev: dce7918a818bf86fcc11f561af3eacaf281403d4) Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit ids 82e96b3baa1c64d03412871fce56d496a338f167 and ae325d011bd50501fe677c8b37295ae83030c526 Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: set the perfexecdirSaul Wold2012-10-181-1/+1
| | | | | | | | | | | This allows the files installed into /usr/libexec to be relocated to ${libexecdir}. removed unneded prefix=/usr, which would prevent ${prefix} relocation. (From OE-Core rev: 10d28438c1e7d793bc398a0ad484782e5baa4877) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add bison and flex to DEPENDSTom Zanussi2012-08-291-1/+2
| | | | | | | | | | perf depends on bison and flex for event parsing - add them as dependencies. (From OE-Core rev: f04b0ddb7a392425ba5890026564bc3521a32c67) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf_3.4.bb: update to build against older kernelsMatthew McClintock2012-08-191-1/+3
| | | | | | | | | | | | | | | Removes a make install-python_ext when not present since older versions of perf lack this install rule This also fixes a library issue on older kernels building with a newer toolchain where libaries that would previously be pulled in are no longer. So we add them manually. (From OE-Core rev: 70b17a893bd2e1bbba8ea16619b02a60e7c4b8d8) 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>
* perf: Update for python-native changesMorgan Little2012-07-221-1/+1
| | | | | | | | Add pythonnative to the inherits list (From OE-Core rev: d27cd814162fde3362278435a6842928310c2704) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-1/+1
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add perl, python to DEPENDS1.3_M2.rc1Tom Zanussi2012-07-121-1/+3
| | | | | | | | | perf has perl and python compile-time dependendencies, add them. (From OE-Core rev: 1b40dac2c501ae8c8d812cf2866fe7917f144a19) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add perf-tui featureTom Zanussi2012-07-101-2/+6
| | | | | | | | | | | | | | | Add a new feature named 'perf-tui'. Adding this into the PERF_FEATURES variable in perf.inc will enable the perf TUI (Text-base UI) user interface on a target, which adds libnewt and turns on the perf text UI options in perf, if perf is included in an image. If 'perf-tui' isn't named as a feature (the default), the perf TUI will be disabled and unavailable. (From OE-Core rev: 4fd8a550886f02189e4ed127d0a2f16e92f8474c) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add perf-scripting featureTom Zanussi2012-07-101-3/+9
| | | | | | | | | | | | | | | Add a new feature named 'perf-scripting'. Adding this into the PERF_FEATURES variable in perf.inc will enable perf scripting on a target, which will turn on all the language bindings currently available in perf (Perl and Python), if perf is included in an image. If 'perf-scripting' isn't named as a feature (the default), all perf language bindings will be disabled and unavailable. (From OE-Core rev: fc0661041436013b9099dbd659994a2b8b292c19) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add perf.incTom Zanussi2012-07-102-0/+24
| | | | | | | | | | Add a perf.inc to contain utility functions and definitions and to avoid cluttering up the main recipe. (From OE-Core rev: 414d00be5b350ea84fc7e1ff690f78b3396cfcd0) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: remove unconditional python-ext installTom Zanussi2012-07-051-1/+0
| | | | | | | | | | | This shouldn't be unconditional - a later patch made it so, but that's not yet pulled in. In the meantime, to fix build failures remove the unconditional install. (From OE-Core rev: dcc43c34bfa9304233ecfd3f518a84ddfdc2fd90) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add libexec/perf-core and contentsTom Zanussi2012-07-041-0/+1
| | | | | | | | | | | libexec/perf-core contains all the pre-canned scripts and modules needed by both the Perl and Python bindigs. Add libexec/perf-core along with all the pre-defined perf scripts underneath it. (From OE-Core rev: 00f9e8aed9f111d351c2dc71cd8605ccbd11f68f) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: enable Perl bindingTom Zanussi2012-07-041-1/+10
| | | | | | | | | | | | | | | | | | | Add support to enable the perf Perl binding. The build depends on perl-native to retrieve the configuration settings needed for the binding. cpan-base adds some useful functions like is_target() and get_perl_version() that we need for PERLCONFIGTARGET and related settings, which allow us to use the target's Config_heavy.pl settings for ExtUtils:Embed when building for the target. Also adds the perl-modules dependency to give the target the perl modules that scripts using the binding need. (From OE-Core rev: 73a8eed010a821fc4f5c0e71ef749938ed780b44) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: enable Python bindingsTom Zanussi2012-07-041-1/+11
| | | | | | | | | | | | Add support to enable the perf python bindings. The combination of these changes and the changes in the python-config sections in the kernel Makefile enable all the python bindings currently available in perf. (From OE-Core rev: 487c3a72f0ac7121b79d2f78b81f1d4732bc258a) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-kernel: make perf a standalone packageLiang Li2012-06-211-0/+50
perf has been coupled to the kernel packages via kernel.bbclass. While maintaining the build of perf out of the kernel source tree is desired the package coupling has proved to be awkward in several situations such as: - when a kernel recipe doesn't want to build/provide perf - when licensing of dependencies would prohibit perf and hence the kernel from being built. To solve some of these problems, this recipe is the extraction of the linux-tools.inc provided perf compilation into a standalone perf recipe that builds out of the kernel source, but is otherwise independent. No new functionality is provided above what the linux-tools.inc variant provided, but the separate recipe provides baseline for adding new functionality. (From OE-Core rev: ab883d0c1a05bd99e97e5d71bc7bed05cb1ae8c8) Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>