]> sourceware.org Git - systemtap.git/commitdiff
stapdyn: TODO updates
authorJosh Stone <jistone@redhat.com>
Fri, 3 Aug 2012 01:56:54 +0000 (18:56 -0700)
committerJosh Stone <jistone@redhat.com>
Fri, 3 Aug 2012 01:56:54 +0000 (18:56 -0700)
- Build integration is in good shape, removing
- Runtime is largely done, but some cleanup left (PR14179)
- Breaking up the tapsets is pretty much done (PR14180)
- New: really need a deref() mechanism
- New: need to rework stapdu_target

stapdyn/TODO

index e6e599cfe12055713787ff33bb59cd076c89fab0..3456eedfd13279fef9bddb18fb65eae546c736fc 100644 (file)
@@ -1,16 +1,8 @@
 === TODO items for SystemTap+Dyninst ====
 
-* Integrate with the rest of SystemTap build.
-- Add configury, --with-dyninst or similar.
-- Add stapdyn/* to Makefiles.
-(These are partially there, but should be made more general
- and reviewed for good autoconf style.)
-
-* Reorganize the SystemTap runtime to better support different targets.
-- Leave the runtime/ base for generic shared code.
-- Move kernel-specific stuff to runtime/linux/ or runtime/kernel/.
-- Move dyninst-specific stuff to runtime/dyninst/
-- Select sub-runtimes with e.g. #ifdef __KERNEL__
+* Finish splitting the runtime (PR14179)
+- A lot of kernel-specific stuff is moved to runtime/linux/
+- More needs to be moved, and implemented in runtime/dyninst/ as needed.
 
 * Restrict the set of available probe types.
 - Currently the "bad" types will just lead to pass-4 errors.  We're operating
 - Will allow for other two-way commands, maybe removing the need for
   stuff like stp_dummy_init/exit.
 
-* Refactor tapset/.
-- Use a scheme like what is proposed for runtime/ ?
-- Nearly-similar embedded-c can use #ifdef __KERNEL__ alternations.
-
 * Translator generalization, reducing kernel-isms.
 - Generated code should take a more general flavor, that can be implemented on
   either kernel or dyninst runtime interfaces, rather than kernel-flavored code
 - Needs to check that the remote has stapdyn at all.
 - Probably needs a new stapio command akin to 'run', e.g. 'dyn'.
 
+* Need a deref implementation for memory protection!
+- Not sure how to do this, maybe just a SIGSEGV handler?
+
+* Make stapdu_target more flexible
+- Current fixed ABI is too limited IMO
+- JSON is an idea, but perhaps overkill.
+- Simpler idea: just a list of key=value strings, where each probe=TYPE starts
+  a new target.  Something like:
+    probe=uprobe\0path=/bin/foo\0offset=0x42\0
+    probe=uprobe\0path=/bin/bar\0offset=0x84\0
+  - I like keeping it textual, but want to avoid too much verbosity too...
+
 * Enumerate more TODO tasks.
This page took 0.028959 seconds and 5 git commands to generate.