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>, Mark Wielaard <mjw at redhat dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 30 Nov 2015 13:26:27 -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>
On 11/27/2015 02:01 PM, Torsten Polle wrote:
> Hi Mark,
>
>> Mark Wielaard writes:
>> >> WARNING: tapset "/opt/tooling/adit/systemtap/share/systemtap/tapset/linux/arm/syscalls.stp" has errors, and will be skipped
>>
>> > You might want to look into why that is.
>>
>> Yes, I know. I had re-added support of a system call (execve), which
>> does not work since some time in SystemTap. But since the support
>> depends on the kernel version, I get a warning about an empty file when
>> the kernel version is greater than 3.7.
In kernel versions less than 3.7, the execve syscall was in
arch-specific code. So, each arch has their own implementation of
[nd_]syscall.execve in tapsets/linux/ARCH/[nd_]syscalls.stp.
In kernel versions >= 3.7, the execve syscall was moved to generic
kernel code, and support for it is located in
tapset/linux/[nd_]syscalls.stp.
I don't believe we've ever supported an arm/arm64 kernel less than 3.7,
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).
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)