From 655ee2825121e149a9976e562946892efb20aea1 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 7 Apr 2005 21:48:47 +0000 Subject: *** empty log message *** --- runtime/docs/html/todo.html | 93 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 74 insertions(+), 19 deletions(-) (limited to 'runtime/docs/html/todo.html') diff --git a/runtime/docs/html/todo.html b/runtime/docs/html/todo.html index 22265a06..8b147af8 100644 --- a/runtime/docs/html/todo.html +++ b/runtime/docs/html/todo.html @@ -4,10 +4,60 @@ -
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages
-

Todo List

-
Global map_root::create
-
Needs to be per-cpu data for SMP support
+ +

Todo List

+
File TODO
+
stpd needs an option to disable ANSI colors.
+
+

+

+
File TODO
+
stpd needs to be able to write netlink REALTIME_DATA to a file.
+
+

+

+
File TODO
+
stpd/stp/io.c stpd needs better startup/shutdown integration with io.c in runtime. Shutdown works, but isn't very clean. Currently the stp script loads the module, then starts stpd. Data is lost until stpd is active. Maybe stpd needs to load the module. Maybe it needs to signal the module that stpd is ready and the module can proceed to load the probes.
+
+

+

+
File TODO
+
stpd/stp - What if there are multiple probes running?
+
+

+

+
File TODO
+
stpd/stp - Need something to post-process relayfs files and integrate into a single file.
+
+

+

+
File TODO
+
stpd - Implement command that runtime can send to stpd to tell it to fork a specified program and pass the output from the probe module to it. Create example probe to use it.
+
+

+

+
File TODO
+
relayfs/build - figure out how to get rid of the linker warnings when building probes.
+
+

+

+
File TODO
+
runtime - Clean up #defines. Need to have a clearer way to have the probe writer (translator) see which defines affect what and all defines should have reasonable defaults.
+
+

+

+
File TODO
+
runtime - current.c - implement a memory dump function. Does a hex dump into String or print buffer.
+
+

+

+
File TODO
+
runtime - put wrappers around current task struct entries, like pid, ppid, comm, etc.
+
+

+

+
File TODO
+
runtime - Implement stack functions for kprobes (not just jprobes)

@@ -20,33 +70,38 @@
Some of these currently use kmalloc (GFP_ATOMIC) for small allocations. This should be evaluated for performance and stability.

-

-
Global _stp_print (const char *fmt,...)
-
Needs replaced with something much faster that does not use the system log.
+
+
Global _stp_log (const char *fmt,...)
+
Evaluate if this function is necessary.

-

-
Global _stp_print_str (char *str)
-
Needs replaced with something much faster that does not use the system log.
+
+
Group maps
+
Needs to be made SMP-safe for when the big lock is removed from kprobes.

-

-
Global dlog (const char *fmt,...)
-
Either deprecate or redefine this as a way to log debug or status messages, separate from the normal program output.
+
+
Global _stp_map_set_stat (MAP map, stat *stats)
+
Histograms don't work yet.

-

-
Global _stp_map_set_stat (MAP map, stat *stats)
+
+
Global _stp_map_stat_add (MAP map, int64_t val)
Histograms don't work yet.

-
Global _stp_map_stat_add (MAP map, int64_t val)
-
Histograms don't work yet.
+
Global _stp_stack_print (int verbose, int levels)
+
Implement verbosity and levels parameters.

-
Group scbuf
-
Need careful review of these to insure safety.
+
Global _stp_stack_sprint (String str, int verbose, int levels)
+
Implement verbosity and levels parameters.
+
+

+

+
Global _stp_string_init (int num)
+
Global (and static) Strings not implemented yet.
-- cgit