X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flttng-statedump-impl.c;h=95032f87a2db4f2cefa0a4bcf31a9b61c41ccb48;hb=74019c61b437c21b11b7190800ca8ab859042f6c;hp=6cd97658f7b3a6088686da3e10919b82ff841291;hpb=2a059b14c2cbbf828ebc2fc6db643cf81b51abed;p=lttng-modules.git diff --git a/src/lttng-statedump-impl.c b/src/lttng-statedump-impl.c index 6cd97658..95032f87 100644 --- a/src/lttng-statedump-impl.c +++ b/src/lttng-statedump-impl.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -39,16 +40,11 @@ #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 @@ -533,8 +529,6 @@ int lttng_enumerate_vm_maps(struct lttng_kernel_session *session) } #endif -#ifdef CONFIG_LTTNG_HAS_LIST_IRQ - static int lttng_list_interrupts(struct lttng_kernel_session *session) { @@ -561,13 +555,6 @@ int lttng_list_interrupts(struct lttng_kernel_session *session) return 0; #undef irq_to_desc } -#else -static inline -int lttng_list_interrupts(struct lttng_kernel_session *session) -{ - return 0; -} -#endif /* * Statedump the task's namespaces using the proc filesystem inode number as