This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Regarding systemtap support for AArch64


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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]