a4f099385b
A class tracer, it looks for non-inline functions that receive as one of its parameters a pointer to the specified "class" (a struct) and will generate a kprobes kernel module, see the whole sequence in the README.ctracer file. Next steps involve supporting kretprobes, inserting kprobes at each inline "method" expansion, using relayfs, and eventually uprobes to make this useful for userspace as well. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> |
||
---|---|---|
cmake/modules | ||
CMakeLists.txt | ||
README | ||
README.ctracer | ||
classes.c | ||
classes.h | ||
codiff.c | ||
ctracer.c | ||
list.h | ||
pahole.c | ||
pfunct.c | ||
prefcnt.c |
README
Build instructions: 1. install cmake 2. mkdir build 3. cd build 4. cmake .. 5. make Known to work scenarios: Mandriva Cooker: cmake 2.4.5-1mdv2007.1 libelfutils1-devel 0.123-1mdv2007.1 Debian Unstable: cmake 2.4.5-1 libdw-dev 0.123-2