From 530b131af9beda153e251622f62953ebe274f4b6 Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 10 Apr 2007 14:33:21 +0000 Subject: 2007-04-10 Martin Hunt * logging.stp (print_char): New function. * aux_syscalls.stp: Clean up network includes. --- tapset/ChangeLog | 6 ++++++ tapset/aux_syscalls.stp | 5 +++-- 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 + + * logging.stp (print_char): New function. + + * aux_syscalls.stp: Clean up network includes. + 2007-04-09 Mike Mason * 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 -#include -#include #include +#include #include +#include +#include #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); +} +%} -- cgit