This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Tapset porting to 2.6.38
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: "Turgis, Frederic" <f-turgis at ti dot com>
- Cc: "systemtap at sourceware dot org" <systemtap at sourceware dot org>
- Date: Mon, 14 Mar 2011 17:25:20 -0400
- Subject: Re: Tapset porting to 2.6.38
- References: <13872098A06B02418CF379A158C0F1460160C71F68@dnce02.ent.ti.com>
Hi -
f-turgis wrote:
> I recently ran the testsuite on Linaro kernel (2.6.38 on ARM dual
> core cortex A9) and found 1 issue coming from 2.6.38 kernel
> changes. [...]
> [...] commit 68835aba4d9b74e2f94106d13b6a4bddc447c4c8 [...]
> impacts "function __ip_sock_saddr:long (sock:long)"
> - __be32 inet_daddr;
> - __be32 inet_rcv_saddr;
> +#define inet_daddr sk.__sk_common.skc_daddr
> +#define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr
> [...]
This should be handleable by something like extending the current
@defined conditional there with another alternative, as in:
@defined(@cast(sock,"inet_sock","kernel<net/ip.h>")->__sk_common->skc_daddr) ?
@cast(sock,"inet_sock","kernel<net/ip.h>")->__sk_common->skc_daddr) :
[...whatever else...]
- FChE