From eddde980ee23baef42edb992da5cb977ba6b4c0c Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 12 Nov 2007 21:59:51 +0000 Subject: 2007-11-12 Martin Hunt * logging.stp (print_char): Remove. Now implemented by stap. (log): Add a comment that it is deprecated. --- tapset/logging.stp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tapset/logging.stp') 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); -} -%} -- cgit