Remove ltt-core.c (unused)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 16 Jul 2011 17:23:08 +0000 (13:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 16 Jul 2011 17:23:08 +0000 (13:23 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile
ltt-core.c [deleted file]
ltt-tracer-core.h
ltt-tracer.h

index 584ca6b18bf649020136d47c10e6fddeac114a03..e93792c8fabb00bd8157c1c2b603b9d7276af9f9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ obj-m += ltt-ring-buffer-metadata-mmap-client.o
 
 obj-m += ltt-relay.o
 ltt-relay-objs :=  ltt-events.o ltt-debugfs-abi.o \
-                       ltt-probes.o ltt-core.o ltt-context.o \
+                       ltt-probes.o ltt-context.o \
                        lttng-context-pid.o lttng-context-comm.o \
                        lttng-context-prio.o lttng-context-nice.o \
                        lttng-context-vpid.o lttng-context-tid.o \
diff --git a/ltt-core.c b/ltt-core.c
deleted file mode 100644 (file)
index fc55bdf..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * LTT core in-kernel infrastructure.
- *
- * Copyright 2006 - Mathieu Desnoyers mathieu.desnoyers@polymtl.ca
- *
- * Dual LGPL v2.1/GPL v2 license.
- */
-
-#include <linux/percpu.h>
-#include <linux/module.h>
-#include <linux/debugfs.h>
-#include <linux/kref.h>
-#include <linux/cpu.h>
-
-#include "ltt-tracer-core.h"
-
-int ltt_run_filter_default(struct ltt_session *session,
-                          struct ltt_channel *chan,
-                          struct ltt_event *event)
-{
-       return 1;
-}
-
-/* This function pointer is protected by a trace activation check */
-ltt_run_filter_functor ltt_run_filter = ltt_run_filter_default;
-EXPORT_SYMBOL_GPL(ltt_run_filter);
-
-void ltt_filter_register(ltt_run_filter_functor func)
-{
-       ltt_run_filter = func;
-}
-EXPORT_SYMBOL_GPL(ltt_filter_register);
-
-void ltt_filter_unregister(void)
-{
-       ltt_run_filter = ltt_run_filter_default;
-}
-EXPORT_SYMBOL_GPL(ltt_filter_unregister);
-
-MODULE_LICENSE("GPL and additional rights");
-MODULE_AUTHOR("Mathieu Desnoyers");
-MODULE_DESCRIPTION("Linux Trace Toolkit Next Generation Tracer Core");
index d464877de4f23b016c49dc86e432a2c9bb75505e..5abc432d24a0a6bebd210d7a304c325eb131c9d7 100644 (file)
@@ -25,13 +25,4 @@ struct ltt_session;
 struct ltt_channel;
 struct ltt_event;
 
-typedef int (*ltt_run_filter_functor)(struct ltt_session *session,
-                                     struct ltt_channel *chan,
-                                     struct ltt_event *event);
-
-extern ltt_run_filter_functor ltt_run_filter;
-
-extern void ltt_filter_register(ltt_run_filter_functor func);
-extern void ltt_filter_unregister(void);
-
 #endif /* LTT_TRACER_CORE_H */
index 2fbe1bc8ec84f1bcf2a89547ba952ceb625c6336..91a868dc277cd88ff7361248cea10a1e6abddfcc 100644 (file)
 #define LTT_RFLAG_EXTENDED             RING_BUFFER_RFLAG_END
 #define LTT_RFLAG_END                  (LTT_RFLAG_EXTENDED << 1)
 
-/* Register and unregister function pointers */
-
-enum ltt_module_function {
-       LTT_FUNCTION_RUN_FILTER,
-       LTT_FUNCTION_FILTER_CONTROL,
-       LTT_FUNCTION_STATEDUMP
-};
-
-extern int ltt_module_register(enum ltt_module_function name, void *function,
-                              struct module *owner);
-extern void ltt_module_unregister(enum ltt_module_function name);
-
-/* Exported control function */
-
-void ltt_core_register(int (*function)(u8, void *));
-
-void ltt_core_unregister(void);
-
-extern
-void ltt_statedump_register_kprobes_dump(void (*callback)(void *call_data));
-extern
-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
-
 #endif /* _LTT_TRACER_H */
This page took 0.026997 seconds and 4 git commands to generate.