This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Regarding systemtap support for AArch64
- From: William Cohen <wcohen at redhat dot com>
- To: Mark Wielaard <mjw at redhat dot com>
- Cc: Sandeepa Prabhu <sandeepa dot prabhu at linaro dot org>, 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: Wed, 25 Sep 2013 14:45:15 -0400
- 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>
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