diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-03-20 09:35:44 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-03-20 09:35:44 +0100 |
commit | 9ba817408c6eb81d9ed470314cff1d2d412c4b68 (patch) | |
tree | 81cdd381dc4a9c8007102ce4465a7a2c6c016a4e /tapset | |
parent | 5e94ef56760c087784e485c35521a6e438cfc3e5 (diff) | |
parent | 0cf9ea606eb7677a1241595f7568dd4a6c243ef2 (diff) | |
download | systemtap-steved-9ba817408c6eb81d9ed470314cff1d2d412c4b68.tar.gz systemtap-steved-9ba817408c6eb81d9ed470314cff1d2d412c4b68.tar.xz systemtap-steved-9ba817408c6eb81d9ed470314cff1d2d412c4b68.zip |
Merge branch 'master' into pr6866
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/aux_syscalls.stp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index d2e43903..87ea4e04 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -322,17 +322,10 @@ function _struct_sockaddr_u:string(uaddr:long, len:long) } else if ((sa->sa_family == AF_PACKET)&&(len == sizeof(struct sockaddr_ll))) { - /* FIXME. This needs tested */ struct sockaddr_ll *sll = (struct sockaddr_ll *)buf; -#if defined(__powerpc__) || defined(__ia64__) || defined(__s390x__) - snprintf(str, strlen, "{AF_PACKET, proto=%d, ind=%d, hatype=%d, pkttype=%d, halen=%d, addr=0x%lx}", - (int)sll->sll_protocol, sll->sll_ifindex, (int)sll->sll_hatype, (int)sll->sll_pkttype, - (int)sll->sll_halen, *(uint64_t *)sll->sll_addr); -#else snprintf(str, strlen, "{AF_PACKET, proto=%d, ind=%d, hatype=%d, pkttype=%d, halen=%d, addr=0x%llx}", (int)sll->sll_protocol, sll->sll_ifindex, (int)sll->sll_hatype, (int)sll->sll_pkttype, (int)sll->sll_halen, *(uint64_t *)sll->sll_addr); -#endif } else { |