This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Prelinking on ARM with Debug Link
- From: David Smith <dsmith at redhat dot com>
- To: Torsten Polle <Torsten dot Polle at gmx dot de>
- Cc: Mark Wielaard <mjw at redhat dot com>, systemtap at sourceware dot org
- Date: Thu, 10 Dec 2015 13:00:01 -0600
- Subject: Re: Prelinking on ARM with Debug Link
- Authentication-results: sourceware.org; auth=none
- References: <DA8CCB2B-F24C-40E8-B40D-74EAC0801799 at gmx dot de> <1448534000 dot 7609 dot 64 dot camel at redhat dot com> <6C764A67-BD51-4CD6-8CE6-8E19E5453462 at gmx dot de> <1448611496 dot 7609 dot 80 dot camel at redhat dot com> <trinity-3900ad7c-e8cf-4ef7-a056-05aab57ef83e-1448629051883 at 3capp-gmx-bs04> <20151127150614 dot GD2790 at blokker dot redhat dot com> <3E5ADB9D-77C7-4AFB-BC5C-321B6DC21572 at gmx dot de> <565CA2E3 dot 7020602 at redhat dot com> <C948A967-D414-4837-8B52-1850908E3DC1 at gmx dot de>
On 12/01/2015 02:10 PM, Torsten Polle wrote:
> Hi David,
>
> David Smith writes:
> > I don't believe we've ever supported an arm/arm64 kernel less than 3.7,
>
> I'm using SystemTap successfully with a 2.6.34 kernel on ARM since 4
> years now. So far it worked without much problems.
>
> > so there isn't arch-specific execve support for arm/arm64. But, if you
> > have got working execve support for arm/arm64 kernels less than 3.7, I
> > don't see a real problem with checking it in (assuming it looks reasonable).
>
> I've support that is working in my environment. At least the defined
> variables give some decent result. Please judge the quality for yourself.
>
> The error message reported comes from the fact that the file
> syscalls.stp is regarded as empty by SystemTap if the kernel version is
> greater then 3.7. I could not find a nice solution so far.
Torsten,
I've checked in your changes, they all looked reasonable. I added
support for nd_syscall.execve. I worked around the empty tapset warning
by adding a 'never' probe the the new tapset files.
Thanks for the patch.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)