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: Sandeepa Prabhu <sandeepa dot prabhu at linaro dot org>
- Cc: Masami Hiramatsu <masami dot hiramatsu dot pt at hitachi dot com>, systemtap at sourceware dot org, Deepak Saxena <dsaxena at linaro dot org>
- Date: Mon, 14 Oct 2013 23:02:47 -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> <52432F3B dot 4020503 at redhat dot com> <CA+b37P13t44vQfS3RwxkCowgqYBAHyUHCNJQtGqxmrqnt_rw6Q at mail dot gmail dot com> <5248E391 dot 3060306 at hitachi dot com> <52496A50 dot 9090904 at redhat dot com> <CA+b37P31Zz3F0SGJt_M_3T2GxCm6zn5K4b56oeoR-qMBF=wjDg at mail dot gmail dot com> <524EE549 dot 8030002 at redhat dot com> <CA+b37P1Rx8HcoCxgF_hsD6F1OTEu+LmUFh1auaLAfEe_te0zcg at mail dot gmail dot com> <CA+b37P2Bh_=YypANEhcLKv_M-AFRJF17EPJA2R3HMzJ-595O0g at mail dot gmail dot com> <525C1DFE dot 1020100 at redhat dot com> <525C6060 dot 8020101 at redhat dot com> <CA+b37P3XoKvQPgKug_bOQO+UHvNiNW+iFJgSpannNMoJF_1dWg at mail dot gmail dot com>
On 10/14/2013 10:29 PM, Sandeepa Prabhu wrote:
> Hi Will,
>
> Thanks for the details, so we have 2 more options (qemu and uefi
> image) to try out. I would get back to you once tried out the options,
> and then decide what's best for kprobes <-> systemtap validation.
> Bit of challenge for me is that I have Ubuntu host - running yum upon
> that!, not sure of any cross-development issues, but as for aarch64
> native building(on fc19-aarch64 model itself) this should be okay
> though its very slow.
>
> Thanks,
> Sandeepa
Hi Sandeepa,
If you have things on ubuntu image, the information on the wiki might be helpful in setting up systemtap development build:
https://sourceware.org/systemtap/wiki/SystemtapOnUbuntu
The following is a general description of building systemtap:
https://sourceware.org/git/?p=systemtap.git;a=blob_plain;f=README;hb=HEAD
Yes, building systemtap on the foundation model is very slow. One thing to avoid slowing things down further is to disable documentation building. Here is what I am using on my image to configure things:
./configure --disable-docs --prefix=/home/wcohen/systemtap_write/install
One other caveat that may (or may not) be an issue is whether the native compiler include a neon header file. The lack of neon header caused a problem with some of the native kernel builds and there were some patches that had to be put in. I beleive that the following directory has a source rpm with the needed patch:
http://arm-temp.ausil.us/pub/fedora-arm/stage4/gcc-4.8.1-10.x1.fc19/
The following is the related fedora bugzilla entry for it:
https://bugzilla.redhat.com/show_bug.cgi?id=1007490
-Will