From e32551b18f4560056d2d482f5e1505b1b98fa82a Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 29 Mar 2005 18:07:58 +0000 Subject: *** empty log message *** --- runtime/docs/html/group__io.html | 170 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 runtime/docs/html/group__io.html (limited to 'runtime/docs/html/group__io.html') diff --git a/runtime/docs/html/group__io.html b/runtime/docs/html/group__io.html new file mode 100644 index 00000000..357e250b --- /dev/null +++ b/runtime/docs/html/group__io.html @@ -0,0 +1,170 @@ + + +SystemTap: I/O + + + +
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages
+

I/O

I/O functions. +More... + + + + + + + + + + + +

Functions

void dlog (const char *fmt,...)
 Logs Data.
void _stp_print (const char *fmt,...)
 Prints to the trace buffer.
void _stp_print_str (char *str)
 Prints to the trace buffer.
+

Detailed Description

+I/O functions. +

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
void _stp_print const char *  fmt,
  ...
+
+ + + + + +
+   + + +

+Prints to the trace buffer. +

+This function uses the same formatting as printk. It currently writes to the system log.

+

Parameters:
+ + +
fmt A variable number of args.
+
+

+

Todo:
Needs replaced with something much faster that does not use the system log.
+ +

+Definition at line 43 of file io.c. +

+Referenced by _stp_symbol_print().

+

+ + + + +
+ + + + + + + + + +
void _stp_print_str char *  str  ) 
+
+ + + + + +
+   + + +

+Prints to the trace buffer. +

+This function will write a string to the trace buffer. It currently writes to the system log.

+

Parameters:
+ + +
str String.
+
+

+

Todo:
Needs replaced with something much faster that does not use the system log.
+ +

+Definition at line 60 of file io.c.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
void dlog const char *  fmt,
  ...
+
+ + + + + +
+   + + +

+Logs Data. +

+This function is compatible with printk. In fact it currently sends all output to vprintk, after sending "STP: ". This allows us to easily detect SystemTap output in the log file.

+

Parameters:
+ + +
fmt A variable number of args.
+
+

+

Bug:
Lines are limited in length by printk buffer. If there is no newline in the format string, then other syslog output could get appended to the SystemTap line.
+

+

Todo:
Either deprecate or redefine this as a way to log debug or status messages, separate from the normal program output.
+ +

+Definition at line 25 of file io.c. +

+Referenced by _stp_list_clear(), _stp_register_jprobes(), _stp_register_kprobes(), _stp_unregister_jprobes(), and _stp_unregister_kprobes().

+ -- cgit