diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2007-10-01 15:13:21 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2007-10-01 15:13:21 -0400 |
commit | 98c93842a8e6470ca5b81c270b2114e17f889cd4 (patch) | |
tree | 16f3bdb8bf5d5e0add015b8e2bc8b56e989ba1cf /tapset | |
parent | c80c6eae0a46b2a177f0d9a5312f226004e8b5b8 (diff) | |
parent | b71a5cbb7521034d43523096c890e5d9bd05e79c (diff) | |
download | systemtap-steved-98c93842a8e6470ca5b81c270b2114e17f889cd4.tar.gz systemtap-steved-98c93842a8e6470ca5b81c270b2114e17f889cd4.tar.xz systemtap-steved-98c93842a8e6470ca5b81c270b2114e17f889cd4.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 9 | ||||
-rw-r--r-- | tapset/aux_syscalls.stp | 2 | ||||
-rw-r--r-- | tapset/socket.stp | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 59a73895..c9a0bf93 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,12 @@ +2007-10-01 Martin Hunt <hunt@redhat.com> + + * aux_syscalls.stp (_str_lookup_str): Print unmatched + values in hex. + +2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com> + + * socket.stp (_success_check): Fix compare method. + 2007-09-27 Martin Hunt <hunt@redhat.com> * aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str): diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index cb47464f..23284db8 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1558,7 +1558,7 @@ void _stp_lookup_str(const _stp_val_array * const array, long val, char *ptr, in } i++; } - snprintf(ptr, len, "%ld", val); + snprintf(ptr, len, "0x%lx", val); } void _stp_lookup_or_str(const _stp_val_array * const array, long val, char *ptr, int len) { diff --git a/tapset/socket.stp b/tapset/socket.stp index e18d99ee..77e322d2 100644 --- a/tapset/socket.stp +++ b/tapset/socket.stp @@ -898,7 +898,7 @@ probe begin(-1001) function _success_check(ret:long) { - return (ret > 0 ? 1 : 0) + return (ret >= 0 ? 1 : 0) } function _get_sock_addr:long (file:long) |