diff options
author | hunt <hunt> | 2007-11-12 21:59:51 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-11-12 21:59:51 +0000 |
commit | eddde980ee23baef42edb992da5cb977ba6b4c0c (patch) | |
tree | 1f04d0ef2c93dab34aef351d3cd54a68e91f783f | |
parent | 15e6cce92a4406ed68b4b0e57ec629ae4ddbd682 (diff) | |
download | systemtap-steved-eddde980ee23baef42edb992da5cb977ba6b4c0c.tar.gz systemtap-steved-eddde980ee23baef42edb992da5cb977ba6b4c0c.tar.xz systemtap-steved-eddde980ee23baef42edb992da5cb977ba6b4c0c.zip |
2007-11-12 Martin Hunt <hunt@redhat.com>
* logging.stp (print_char): Remove. Now implemented by
stap.
(log): Add a comment that it is deprecated.
-rw-r--r-- | tapset/ChangeLog | 6 | ||||
-rw-r--r-- | tapset/logging.stp | 9 |
2 files changed, 8 insertions, 7 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 471ffac8..be880588 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,5 +1,11 @@ 2007-11-12 Martin Hunt <hunt@redhat.com> + * logging.stp (print_char): Remove. Now implemented by + stap. + (log): Add a comment that it is deprecated. + +2007-11-12 Martin Hunt <hunt@redhat.com> + * syscalls2.stp (sys_remap_file_pages: : Change kernel version check to >= 2.6.24. diff --git a/tapset/logging.stp b/tapset/logging.stp index 968435e2..d2cca612 100644 --- a/tapset/logging.stp +++ b/tapset/logging.stp @@ -1,5 +1,5 @@ // logging tapset -// Copyright (C) 2005, 2006 Red Hat Inc. +// Copyright (C) 2005, 2006, 2007 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General @@ -7,6 +7,7 @@ // later version. // send a string out with a newline +// Deprecated. print* functions are much more efficient. function log (msg:string) %{ _stp_printf ("%s\n", THIS->msg); %} @@ -35,9 +36,3 @@ function error (msg:string) %{ 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); -} -%} |