Regarding systemtap support for AArch64
William Cohen
wcohen@redhat.com
Thu Oct 24 01:50:00 GMT 2013
On 10/02/2013 12:17 AM, Sandeepa Prabhu wrote:
> Hi all,
>
> I have uploaded ARM64 kprobes work on Linaro public git:
> git://git.linaro.org/people/sandeepa.prabhu/linux-aarch64.git Branch:
> kprobes_devel_v8. Patches are published on LAKML too. This is based
> on v8 upstream kernel (3.12-rc1) right now, and works with linaro
> boot-wrapper and fast model setup, though, not sure what it takes to
> build for fedora.
>
> Will,
>
> Is aarch64 fc19 port public? I am interested in using fc on v8 fast
> model, are there instructions about how to get the packages and
> build/run them?
>
> Thanks,
> Sandeepa
Hi Sandeepa,
I finally got a locally built aarch64 kernel with the kprobe patches
built and running on the simulator. The SystemTap tapsets.cxx needed to be
patched to understand the aarch64 (the attached patch). With that patch the
SystemTap Beginner's guide smoke test example showed signs of life!
However, it took minutes for it to compile and run.
[wcohen@localhost systemtap]$ sudo ../install/bin/stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
[sudo] password for wcohen:
Pass 1: parsed user script and 92 library script(s) using 140528virt/24952res/2744shr/22868data kb, in 4740usr/160sys/5319real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 3 embed(s), 0 global(s) using 326804virt/106856res/3568shr/103752data kb, in 33860usr/14520sys/52942real ms.
Pass 3: translated to C into "/tmp/stap6Cbu2d/stap_3a0ef010f6cdfb2bdc3cac691a0f3c0e_1393_src.c" using 326804virt/109236res/5948shr/103752data kb, in 120usr/30sys/163real ms.
Pass 4: compiled C into "stap_3a0ef010f6cdfb2bdc3cac691a0f3c0e_1393.ko" in 117620usr/10440sys/141829real ms.
Pass 5: starting run.
read performed
Pass 5: run completed in 100usr/90sys/573real ms.
[wcohen@localhost systemtap]$ uname -a
Linux localhost 3.12.0-rc5+ #3 SMP Wed Oct 23 15:03:27 EDT 2013 aarch64 aarch64 aarch64 GNU/Linux
-Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemtap-aarch64-kprobes.patch
Type: text/x-patch
Size: 2316 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20131024/52ee3638/attachment.bin>
More information about the Systemtap
mailing list