summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes2/uprobes.h
Commit message (Collapse)AuthorAgeFilesLines
* map through uretprobe trampoline in an arbitrary taskTim Moore2010-01-131-0/+6
| | | | | | | | | * runtime/uprobes2/uprobes.c (uprobe_get_pc_task): new function (lookup_uretprobe): new helper function (uprobe_get_pc): use it * runtime/uprobes2/uprobes.h (uprobe_get_pc_task): declare * runtime/uprobes/uprobes.c : ditto * runtime/uprobes/uprobes.h : ditto
* bz6436 backtraces from uprobesTim Moore2010-01-051-0/+4
| | | | | | | | | | | | | | | | | | | | | This implements proper unwinding from uprobes in the presence of uretprobe trampolines. * runtime/stack.c (_stp_stack_print): Rework for uprobe context case and refactor a bit. * runtime/uprobes2/uprobes.h (GET_PC_URETPROBE_NONE): new constant * runtime/uprobes2/uprobes.c (uprobe_get_pc): Support translating the trampoline function from uprobe context in addition to uretprobe context. * runtime/uprobes/uprobes.h (GET_PC_URETPROBE_NONE): ditto * runtime/uprobes/uprobes.c (uprobe_get_pc): ditto * tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Initialize ri in context to GET_PC_URETPROBE_NONE in generated enter_uprobe_probe. * testsuite/systemtap.context/fib.stp: Add an option to do a backtrace on function entry. * testsuite/systemtap.context/fib.exp: Test backtrace in function entry (uprobe) probes.
* function to translate from the uretprobe trampoline back to the originalTim Moore2009-12-161-0/+8
| | | | | | return address * runtime/uprobes2/uprobes.c (uprobe_get_pc): new function
* PR9940: add/use unmap_u[ret]probeJim Keniston2009-04-151-0/+6
| | | | | For uprobes 1 and 2, add unmap_u[ret]probe() and define UPROBES_API_VERSION=2. Adapt tapsets.cxx accordingly.
* PR9974: adapt to utrace_connected_engine -> utrace_engineFrank Ch. Eigler2009-03-221-0/+5
| | | | | | Adjusted all headers that #include <linux/utrace.h> to follow with: /* PR9974: Adapt to struct renaming. */
* Add a version of uprobes that works with the 2.6.27 version of utrace.Jim Keniston2008-11-031-0/+406