All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@intel.com>
To: poky@yoctoproject.org
Subject: [PATCH 0/1] Add systemtap package
Date: Thu, 13 Jan 2011 13:55:17 -0600	[thread overview]
Message-ID: <cover.1294944942.git.tom.zanussi@intel.com> (raw)

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



             reply	other threads:[~2011-01-13 19:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 19:55 Tom Zanussi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1294944942.git.tom.zanussi@intel.com \
    --to=tom.zanussi@intel.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.