X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-statedump-impl.c;h=52f7c48b282322344ebc20449b647ddd2a68a9cd;hb=88eb3d8e0c047374f61845400edd268afff93a44;hp=eefc0b8fb2f11525d5c9befad3a7d2ba5f3c0e01;hpb=12528a82c68296e003358cca0c35d269973780cf;p=lttng-modules.git diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c index eefc0b8f..52f7c48b 100644 --- a/lttng-statedump-impl.c +++ b/lttng-statedump-impl.c @@ -33,18 +33,14 @@ #include #include #include +#include #include #include #include -#include #include #include -#ifdef CONFIG_LTTNG_HAS_LIST_IRQ -#include -#endif - /* Define the tracepoints, but do not build the probes */ #define CREATE_TRACE_POINTS #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module @@ -334,8 +330,6 @@ int lttng_enumerate_vm_maps(struct lttng_session *session) } #endif -#ifdef CONFIG_LTTNG_HAS_LIST_IRQ - static int lttng_list_interrupts(struct lttng_session *session) { @@ -360,13 +354,6 @@ int lttng_list_interrupts(struct lttng_session *session) } return 0; } -#else -static inline -int lttng_list_interrupts(struct lttng_session *session) -{ - return 0; -} -#endif /* * Statedump the task's namespaces using the proc filesystem inode number as