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 17:21:36 -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>
On 10/14/2013 12:38 PM, William Cohen wrote:
> On 10/08/2013 12:39 AM, Sandeepa Prabhu wrote:
>> On 8 October 2013 09:58, Sandeepa Prabhu <sandeepa.prabhu@linaro.org> wrote:
>>>>
>>>> Hi Sandeepa,
>>>>
>>>> The fedora 19 work is publicly available. The following page talks about setting things up:
>>>>
>>>> http://fedoraproject.org/wiki/Architectures/ARM/AArch64/QuickStart
>>>>
>>>> -Will
>>> Hi Will,
>>>
>>> Thanks, I could get the console, but very slow. Where can I look for
>>> kernel sources and the systemtap packages? Wanted to try my kernel
>>> changes on this and experiment systemtap, I can clone and create
>>> kernel devel branch on linaro git for kprobes, if this work out well.
>>>
>> This is single CPU version, has it been tested on 4-core models
>> (RTSM)? Responsiveness might improve with 4-core model [atleast LAMP
>> stack run faster]
>>
>>> Thanks,
>>> Sandeepa
Hi Sandeepa,
There is a new fedora image which uses uefi to boot just announce today. This might be a bit easier to use use that the older image. The following URL mentions it:
https://lists.fedoraproject.org/pipermail/arm/2013-October/006964.html
-Will
>
> Hi Sandeepa,
>
> Yes, the Foundation model is very slow. I have read that there has been some work to get aarch64 support in qemu, but I have not personally tried it:
>
> http://news.opensuse.org/2013/10/01/suse-speeds-up-building-aarch64-software-in-qemu/
>
> For systemtap your best bet is to use a git clone which has the current aarch64 patches:
>
> git clone git://sourceware.org/git/systemtap.git
>
> Then build (you may need to do a "yum-builddep systemtap" as root to pull in dependencies that systemtap needs to build):
>
> cd systemtap
> ./configure --disable-docs
> make
> make install
>
> At this point should have a systemtap that will build stuff for aarch64
>
> For the current state of aarch64 package you can look at what is in http://arm-temp.ausil.us/pub/fedora-arm/stage4/
> Each of the packages is in a subdirectory. You should be able to do something like the following to get the sources:
>
> wget http://arm-temp.ausil.us/pub/fedora-arm/stage4/kernel-3.12.0-0.rc4.git0.1.x2.fc19/kernel-3.12.0-0.rc4.git0.1.x2.fc19.src.rpm
> rpm -Uvh kernel*.src.rpm
> cd rpmbuild/SPECS
> yum-builddep kernel
> rpmbuild -bp kernel.spec
>
> Generally when fedora builds kernels it produces a /boot/config-`uname -r` file describing the configure used to build the kernel. This is in the kernel rpm. I don't recall if the kernel rpm is installed in the basic aarch64 image. You may need to do a "yum install kernel" to get that installed on the machine.
>
> -Will
>