[poky] [PATCH 0/1] Add systemtap package

Tom Zanussi tom.zanussi at intel.com
Thu Jan 13 11:55:17 PST 2011


Add systemtap, one of the tracing/profiling tools mentioned in the
Yocto v1.0 tracing/profiling tools list posted here:

https://lists.yoctoproject.org/pipermail/yocto/2010-November/000281.html

This patch adds the recipe for systemtap support for the architectures
that I was able to get working and test - basically x86, x86-64,
qemux86, and qemuppc (arm (tried qemuarm) apparently needs some work
upstream, and mips isn't supported).

There is an accompanying kernel config patch that's also needed for
systemtap to work.

In addition to the systemtap recipe and kernel options posted here,
there's also a small amount of setup needed on the host system in
order to run systemtap scripts on a target system - basically,
installing systemtap on the host.  I also hacked up a shell script
('crosstap') to make it easier to compile and execute systemtap
scripts on a target system - if you want to use that, you should
replace the variables in that script with appropriate values for your
system (I actually started out having the build system generate the
script, but decided to do that later if it ended up being desirable).

Detailed instructions on the setup as well as the 'crosstap' script
can be found in a new section on the wiki I've added for tracing and
profiling to the Yocto wiki:

https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling#systemtap

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: tzanussi/systemtap.v3
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=tzanussi/systemtap.v3

Thanks,
    Tom Zanussi <tom.zanussi at intel.com>
---


Tom Zanussi (1):
  systemtap: new package

 .../conf/distro/include/poky-default-revisions.inc |    1 +
 meta/recipes-core/tasks/task-poky-tools.bb         |    1 +
 meta/recipes-kernel/systemtap/systemtap_git.bb     |   28 ++++++++++++++++++++
 3 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/systemtap/systemtap_git.bb




More information about the poky mailing list