summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/ChangeLog6
-rw-r--r--tapset/logging.stp9
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);
-}
-%}