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 \
+++ /dev/null
-/*
- * 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");
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 */
#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 */