All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Add systemtap package
@ 2011-01-13 19:55 Tom Zanussi
  2011-01-13 19:55 ` [PATCH 1/1] systemtap: new package Tom Zanussi
  2011-01-20 23:26 ` [PATCH 0/1] Add systemtap package Saul Wold
  0 siblings, 2 replies; 7+ messages in thread
From: Tom Zanussi @ 2011-01-13 19:55 UTC (permalink / raw)
  To: poky

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@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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-20 23:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13 19:55 [PATCH 0/1] Add systemtap package Tom Zanussi
2011-01-13 19:55 ` [PATCH 1/1] systemtap: new package Tom Zanussi
2011-01-13 21:36   ` Darren Hart
2011-01-14  7:00     ` Tom Zanussi
2011-01-14  5:47   ` Saul Wold
2011-01-14  6:55     ` Tom Zanussi
2011-01-20 23:26 ` [PATCH 0/1] Add systemtap package Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.