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: Tapset porting to 2.6.38


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


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