Support architectures without dump tables
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 3 Sep 2010 14:17:45 +0000 (10:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 3 Sep 2010 14:17:45 +0000 (10:17 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-tracer.h

index 9564c3f9508aaec1164b3ca9a2fe387310ca1b37..8d979b5b536ace8f142110f56fafdfd06ff2c6eb 100644 (file)
@@ -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 */
 
This page took 0.02619 seconds and 4 git commands to generate.