diff options
author | hunt <hunt> | 2007-04-10 14:33:21 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-04-10 14:33:21 +0000 |
commit | 530b131af9beda153e251622f62953ebe274f4b6 (patch) | |
tree | c5d88e5303416fb7d76ef69be23b202bcad08548 | |
parent | 3596cbca20e5ef0f110ffd342db6d0e4278e81ba (diff) | |
download | systemtap-steved-530b131af9beda153e251622f62953ebe274f4b6.tar.gz systemtap-steved-530b131af9beda153e251622f62953ebe274f4b6.tar.xz systemtap-steved-530b131af9beda153e251622f62953ebe274f4b6.zip |
2007-04-10 Martin Hunt <hunt@redhat.com>
* logging.stp (print_char): New function.
* aux_syscalls.stp: Clean up network includes.
-rw-r--r-- | tapset/ChangeLog | 6 | ||||
-rw-r--r-- | tapset/aux_syscalls.stp | 5 | ||||
-rw-r--r-- | tapset/logging.stp | 5 |
3 files changed, 14 insertions, 2 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index c877d877..7b760fcb 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,9 @@ +2007-04-10 Martin Hunt <hunt@redhat.com> + + * logging.stp (print_char): New function. + + * aux_syscalls.stp: Clean up network includes. + 2007-04-09 Mike Mason <mmlnx@us.ibm.com> * DEVGUIDE: Added new tapset developer's guide. diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index b9ff9776..8e37f43f 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -243,10 +243,11 @@ function _struct_itimerval:string(addr:long) %{ #include <linux/version.h> -#include <net/sock.h> -#include <net/tcp.h> #include <linux/socket.h> +#include <linux/in.h> #include <linux/un.h> +#include <linux/netlink.h> +#include <linux/if_packet.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) #define LPORT (inet->inet.num) diff --git a/tapset/logging.stp b/tapset/logging.stp index 3b0f9df5..968435e2 100644 --- a/tapset/logging.stp +++ b/tapset/logging.stp @@ -36,3 +36,8 @@ function stp_print_binary(n:long, arg1:long, arg2:long, arg3:long, arg4:long) %{ _stp_print_binary (THIS->n, THIS->arg1, THIS->arg2, THIS->arg3, THIS->arg4); %} +function print_char(c:long) %{ +{ + _stp_print_char((char)THIS->c); +} +%} |