[OE-core] [PATCH 0/3] perf-scripting/perf-tui features, v3

tom.zanussi at intel.com tom.zanussi at intel.com
Mon Jul 9 17:07:07 UTC 2012


From: Tom Zanussi <tom.zanussi at intel.com>

This patchset enables the Perl and Python bindings for perf, as well
as the perf TUI (text-based UI).

These are now turned on by default via a new variable,
PERF_FEATURES_ENABLE, which can be overridden if the default set of
perf features aren't desired (perf-scripting and perf-tui).

Because perf isn't normally enabled except in sdk builds, which
contains most of the additional packages that these features drag
in anyway e.g. Python and Perl, it shouldn't be too bothersome
to unconidtionally turn the perf features on if perf itself is
enabled.  Future work will probably allow these features to be
disabled individually using PACKAGECONFIG for example.

These changes need corresponding changes made to linux-yocto and posted
separately on the yocto and linux-yocto mailing lists.

This patchset depends on the associated kernel changes posted
along with the original patchset:

http://www.mail-archive.com/yocto@yoctoproject.org/msg07279.html
http://www.mail-archive.com/yocto@yoctoproject.org/msg07286.html

Bruce Ashfield submitted a SRCREV update for the 3.4 kernel today
that you'll also need to build this.

I just started testing this, it works so far, but thought
I'd put it out there now in case there were comments before
putting too much effort into that, and possibly giving other
people a chance to try it out.

This patchset has been build-tested on the following machines:

qemuarm

The following changes since commit 5051e9837fa698e03d0a7a8a918ee7aa98409ce1:
  Robert P. J. Day (1):
        bitbake: usermanual: Fix missing markup

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/perf-scripting-v3
  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/perf-scripting-v3

Tom Zanussi (3):
  perf: add perf.inc
  perf: add perf-scripting feature
  perf: add perf-tui feature

 meta/recipes-kernel/perf/perf.inc    |   22 ++++++++++++++++++++++
 meta/recipes-kernel/perf/perf_3.4.bb |   18 +++++++++++++++---
 2 files changed, 37 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-kernel/perf/perf.inc





More information about the Openembedded-core mailing list