This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Regarding systemtap support for AArch64
- From: Sandeepa Prabhu <sandeepa dot prabhu at linaro dot org>
- To: William Cohen <wcohen at redhat dot com>
- Cc: Mark Wielaard <mjw at redhat dot com>, fche at sourceware dot org, fche at redhat dot com, systemtap at sourceware dot org, Naresh Kamboju <naresh dot kamboju at linaro dot org>, Deepak Saxena <dsaxena at linaro dot org>, Jakub Pavelek <jakub dot pavelek at linaro dot org>, dsmith at redhat dot com
- Date: Thu, 26 Sep 2013 08:43:23 +0530
- Subject: Re: Regarding systemtap support for AArch64
- Authentication-results: sourceware.org; auth=none
- References: <CA+b37P3S4adOJe+S1RWKVDEzeVLG2Oa4EFqYgeH4cU6SNmvtEQ at mail dot gmail dot com> <1380011243 dot 3958 dot 11921 dot camel at bordewijk dot wildebeest dot org> <52432F3B dot 4020503 at redhat dot com>
Hi Will, Masami,
Nice to hear from you, I am using ARM fast model/Foundation model with
ARM v8 upstream kernel and a Linaro minimal busybox based ramdisk,
testing with loadable modules for now (so don't have dependency on
elfutils or GCC autoconf etc)
Would you be interested to use Linaro kprobe work as a base for
development and validation of systemtap-aarch64? We are happy to
share a public git repo where 'upstream' kernel can be built with
kprobes support, which systemtap team can use for verification. I can
do this soon as I have most things working locally, except for
kretprobes and 'boosting' support(systemtap can be run without these I
believe).
Looking forward for a collaboration :-)
Cheers,
Sandeepa
On 26 September 2013 00:15, William Cohen <wcohen@redhat.com> wrote:
> On 09/24/2013 04:27 AM, Mark Wielaard wrote:
>> On Tue, 2013-09-24 at 08:43 +0530, Sandeepa Prabhu wrote:
>>> At Linaro, we are developing support for kprobes (and uprobes) for ARM
>>> v8 platform, and interested in running systemtap for validating our
>>> work. I wanted to check if the current version of systemtap support
>>> AArch64? Is there a systemtap version I can use to verify kprobes
>>> mechanism?
>>
>> There is a fedora bug tracking support work items:
>> https://bugzilla.redhat.com/show_bug.cgi?id=926602
>> For elfutils you might want to try the pmachata/aarch64 in upstream git.
>> https://git.fedorahosted.org/cgit/elfutils.git/log/?h=pmachata/aarch64
>> It isn't fully ready yet, but I am sure Petr would like some extra
>> testing help.
>>
>> Cheers,
>>
>> Mark
>>
>
> Hi,
>
> My aarch64 simulator is running an old 3.9+ kernel and I don't have all the other kernel-devel related stuff to instrument that kernel. As a work around I have been using a 3.12-rc0 rpm. Also trying to avoid needing the elfutils at the moment, so I am running some thing like the following command to see what breaks for a really simple "hello world" script:
>
> sudo ../install/bin/stap -v -m hello -r 3.12.0-0.rc0.git20.1.x1.fc19.aarch64 -p4 -k -e 'probe begin {printf("hello world\n")}'
>
> The software simulator is really slow and it looks like the testsuite is probably going to time out for the tests.
>
> -Will