From: Mathieu Desnoyers Date: Mon, 3 May 2021 16:52:51 +0000 (-0400) Subject: Move forward declarations to private header X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=7c1ba2cad7412f74a10e0a7aabda67f6d649e15c Move forward declarations to private header Signed-off-by: Mathieu Desnoyers Change-Id: Ibd6fa4f9ec751be8cdb0082c729c3c5662c02d0b --- diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index 1ca9dcfc..8ac87e7f 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -11,6 +11,10 @@ #include struct lttng_syscall_filter; +struct lttng_metadata_cache; +struct perf_event; +struct perf_event_attr; +struct lib_ring_buffer_config; enum lttng_enabler_format_type { LTTNG_ENABLER_FORMAT_STAR_GLOB, diff --git a/include/lttng/events.h b/include/lttng/events.h index f71c2c91..3a5f94d3 100644 --- a/include/lttng/events.h +++ b/include/lttng/events.h @@ -27,11 +27,7 @@ struct lttng_channel; struct lttng_kernel_session; -struct lttng_metadata_cache; struct lttng_kernel_ring_buffer_ctx; -struct perf_event; -struct perf_event_attr; -struct lib_ring_buffer_config; /* Type description */