Commit | Line | Data |
---|---|---|
6db3d13b MD |
1 | /* |
2 | * probes/lttng-probe-kvm.c | |
3 | * | |
4 | * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
5 | * | |
6 | * LTTng kvm probes. | |
7 | */ | |
8 | ||
9 | #include <linux/module.h> | |
f62b389e MD |
10 | #include <linux/kvm_host.h> |
11 | ||
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/kvm.h> | |
6db3d13b MD |
17 | |
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 |
6db3d13b | 24 | |
f62b389e | 25 | #include "../instrumentation/events/lttng-module/kvm.h" |
6db3d13b MD |
26 | |
27 | MODULE_LICENSE("GPL and additional rights"); | |
28 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
29 | MODULE_DESCRIPTION("LTTng kvm probes"); |