diff options
author | hunt <hunt> | 2005-09-01 09:36:29 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-09-01 09:36:29 +0000 |
commit | 1e36c83be8d088a662081d80e9718eb14bc0556d (patch) | |
tree | cee14f65a61ff2f5007428e55141501e6818b3e6 /tapset | |
parent | e7812b1ca2346d69d70528eef6179b946f6de530 (diff) | |
download | systemtap-steved-1e36c83be8d088a662081d80e9718eb14bc0556d.tar.gz systemtap-steved-1e36c83be8d088a662081d80e9718eb14bc0556d.tar.xz systemtap-steved-1e36c83be8d088a662081d80e9718eb14bc0556d.zip |
2005-09-01 Martin Hunt <hunt@redhat.com>
* tapset/builtin_logging.stp: Add print.
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/builtin_logging.stp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tapset/builtin_logging.stp b/tapset/builtin_logging.stp index b1948877..432d8b1a 100644 --- a/tapset/builtin_logging.stp +++ b/tapset/builtin_logging.stp @@ -1,5 +1,13 @@ # This file contains simple bridging functions to the runtime +function _print (msg) %{ + _stp_print (THIS->msg); +%} + +function print (msg) { + _print (msg . "\n") +} + function _log (msg) %{ _stp_log (THIS->msg); %} |