This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/2] Userspace tap support for ARM


Wade Farnsworth wrote:
Mark Wielaard wrote:
Hi Wade,

On Thu, 2011-11-03 at 13:36 -0700, Wade Farnsworth wrote:
Wade Farnsworth wrote:
This is a first pass at userspace tap support for ARM. Required are
UTrace
support as well as Roland McGrath's tracehook and user_regset
patches found
here:

https://lkml.org/lkml/2009/4/24/383

Per Frank's request, I have set up a repository containing a kernel that
may be used to test these patches. It may be found at

https://github.com/wfarnsworth/utrace-beagle

This is a 2.6.37.6-based kernel from the Yocto project's beagleboard BSP
(which provides the utrace patch) with the tracehook and user_regset
patches committed.

Thanks for that. I see Yocto can be run under qemu, which would be nice for testing things for those who don't have arm hardware. Are these patches in any of the qemu based arm yocto kernel releases yet?


Unfortunately, Roland's patches are not yet in any of the Yocto releases. However, I think it should be possible to compile the utrace-beagle kernel for a qemu target, though I haven't confirmed this. I'll give it a try and let you know the results.

Thanks for applying the other two patches!

-Wade

All,


I've uploaded a rootfs and kernel config file for an ARM QEMU VM here:

http://dl.dropbox.com/u/40714612/qemu-arm-files.tar.bz2

You should be able to use the config file with my utrace-beagle kernel repo. As far as the development environment is concerned, it is assumed that you should be able to cross-compile the kernel, systemtap, uprobes, and the tapsets using some cross development environment. I've tested this using CodeSourcery CodeBench, but I think it will work with any environment that you have at your disposal, e.g. CodeBench-Lite.

Let me know if you need anything else.

Thanks again!

-Wade


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]