]> code.ossystems Code Review - openembedded-core.git/commit
crosstap: new script
authorTom Zanussi <tom.zanussi@intel.com>
Fri, 31 Aug 2012 05:06:57 +0000 (00:06 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Sep 2012 12:47:43 +0000 (05:47 -0700)
commitc6da6b648328377ba3590fd38cb12dad26a46a13
tree1e219e4e201a3a02f1f3ca24fbc5aacfbb8fe81e
parentbf9fa09109f172e85fab14dd3ad0cf22dbd7fd14
crosstap: new script

This script makes it easy to run a systemtap script on a remote target
from a build host.

The script itself contains documentation on basic setup and usage -
see that for details.  In a nutshell, if you have a systemtap script
on the build host, this script allows that systemtap script to be
compiled and run on the target host and for the output appear on the
host terminal.

The crosstap script requires to an sdk build of the target (or a build
with 'tools-profile' added to EXTRA_IMAGE_FEATURES) because it needs
to be able to run the native systemtap built by the systemtap recipe,
which in turn needs access to the kernel built for the target in order
to build the kernel modules that implement the systemtap probe
specified by the systemtap script and which ultimately get shipped to
the target and insmod'ed there.

The crosstap script also needs to be able to ssh to the target host in
order insert the modules on the target, so the target system needs to
support incoming ssh connections.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/crosstap [new file with mode: 0755]