Skip to content

perf-scripting/perf-tui features, v3

[email protected] openembedded-core 1 version Applied

Status from this message: Merged to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3perf: add perf.incmeta/recipes-kernel/perf/perf.inc meta/recipes-kernel/perf/perf_3.4.bb+24 -00 replies
2/3perf: add perf-scripting featuremeta/recipes-kernel/perf/perf_3.4.bb+9 -30 replies
3/3perf: add perf-tui featuremeta/recipes-kernel/perf/perf_3.4.bb+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] perf-scripting/perf-tui features, v3

From: Tom Zanussi <[email protected]>

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/[email protected]/msg07279.html
http://www.mail-archive.com/[email protected]/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