X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=include%2Flttng%2Fevents-internal.h;h=f3bcdf63f7a6ac0ddfe8d5b0f26d61b66e6b89a4;hp=58e625df3022efb2256570aeb1d0c4f20ebdfb2e;hb=e978f27486ddac0b9cbea5577fc413c67bc61141;hpb=e4a26d6bbfd9693708d9ae988827b576460c3741 diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index 58e625df..f3bcdf63 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -23,6 +23,35 @@ struct lttng_enabler_ref { struct lttng_enabler *ref; /* backward ref */ }; +struct lttng_krp; /* Kretprobe handling */ + +struct lttng_uprobe_handler { + struct lttng_kernel_event_common *event; + loff_t offset; + struct uprobe_consumer up_consumer; + struct list_head node; +}; + +struct lttng_kprobe { + struct kprobe kp; + char *symbol_name; +}; + +struct lttng_uprobe { + struct inode *inode; + struct list_head head; +}; + +enum lttng_syscall_entryexit { + LTTNG_SYSCALL_ENTRY, + LTTNG_SYSCALL_EXIT, +}; + +enum lttng_syscall_abi { + LTTNG_SYSCALL_ABI_NATIVE, + LTTNG_SYSCALL_ABI_COMPAT, +}; + struct lttng_kernel_event_common_private { struct lttng_kernel_event_common *pub; /* Public event interface */