Move kprobes, uprobes, kretprobes, syscall structures to internal header
[lttng-modules.git] / include / lttng / events-internal.h
index 58e625df3022efb2256570aeb1d0c4f20ebdfb2e..f3bcdf63f7a6ac0ddfe8d5b0f26d61b66e6b89a4 100644 (file)
@@ -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 */
 
This page took 0.022723 seconds and 4 git commands to generate.