Fix !CONFIG_KPROBES config
[lttng-modules.git] / probes / lttng-probe-irq.c
CommitLineData
0d1d4002
MD
1/*
2 * probes/lttng-probe-irq.c
3 *
4 * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 *
6 * LTTng irq probes.
7 */
8
9#include <linux/module.h>
391286e8 10#include <linux/interrupt.h>
0d1d4002 11
f62b389e
MD
12/*
13 * Create the tracepoint static inlines from the kernel to validate that our
14 * trace event macros match the kernel we run on.
15 */
16#include <trace/events/irq.h>
17
0d1d4002
MD
18/*
19 * Create LTTng tracepoint probes.
20 */
21#define LTTNG_PACKAGE_BUILD
22#define CREATE_TRACE_POINTS
f62b389e 23#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
0d1d4002 24
f62b389e 25#include "../instrumentation/events/lttng-module/irq.h"
0d1d4002
MD
26
27MODULE_LICENSE("GPL and additional rights");
28MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
29MODULE_DESCRIPTION("LTTng irq probes");
This page took 0.023344 seconds and 4 git commands to generate.