Move kprobes, uprobes, kretprobes, syscall structures to internal header
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 May 2021 14:44:45 +0000 (10:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 4 May 2021 14:38:33 +0000 (10:38 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Id2d352182084cd50998df0a23dcab16d3e7212fc

include/lttng/events-internal.h
include/lttng/events.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 */
 
index 942622fabc6a0c91a785156a70a7e7d95d4bb9b9..4b68836710fea6a1bdd3ad04ff9f2fd88240bbab 100644 (file)
@@ -316,35 +316,6 @@ struct lttng_kernel_probe_desc {
        int lazy;                               /* lazy registration */
 };
 
-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,
-};
-
 /*
  * Result of the run_filter() callback.
  */
This page took 0.029372 seconds and 4 git commands to generate.