From: Mathieu Desnoyers Date: Fri, 3 Sep 2010 14:17:45 +0000 (-0400) Subject: Support architectures without dump tables X-Git-Tag: v0.19~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f277b4c1b33341d2e687a614739778084de370d4;p=lttng-modules.git Support architectures without dump tables Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-tracer.h b/ltt-tracer.h index 9564c3f9..8d979b5b 100644 --- a/ltt-tracer.h +++ b/ltt-tracer.h @@ -644,8 +644,18 @@ void ltt_statedump_unregister_kprobes_dump(void (*callback)(void *call_data)); extern void ltt_dump_softirq_vec(void *call_data); +#ifdef CONFIG_HAVE_LTT_DUMP_TABLES extern void ltt_dump_sys_call_table(void *call_data); extern void ltt_dump_idt_table(void *call_data); +#else +static inline void ltt_dump_sys_call_table(void *call_data) +{ +} + +static inline void ltt_dump_idt_table(void *call_data) +{ +} +#endif /* Relay IOCTL */