aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
AgeCommit message (Collapse)Author
2012-08-28perf: add bison and flex to DEPENDSTom Zanussi
perf depends on bison and flex for event parsing - add them as dependencies. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-19perf_3.4.bb: update to build against older kernelsMatthew McClintock
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. Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-22perf: Update for python-native changesMorgan Little
Add pythonnative to the inherits list Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-12perf: add perl, python to DEPENDSTom Zanussi
perf has perl and python compile-time dependendencies, add them. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf-tui featureTom Zanussi
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf-scripting featureTom Zanussi
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf.incTom Zanussi
Add a perf.inc to contain utility functions and definitions and to avoid cluttering up the main recipe. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-05perf: remove unconditional python-ext installTom Zanussi
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perf: add libexec/perf-core and contentsTom Zanussi
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perf: enable Perl bindingTom Zanussi
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perf: enable Python bindingsTom Zanussi
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-06-21recipes-kernel: make perf a standalone packageLiang Li
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. 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>