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. | |
17baffe2 MD |
7 | * |
8 | * Dual LGPL v2.1/GPL v2 license. | |
6db3d13b MD |
9 | */ |
10 | ||
11 | #include <linux/module.h> | |
f62b389e MD |
12 | #include <linux/kvm_host.h> |
13 | ||
14 | /* | |
15 | * Create the tracepoint static inlines from the kernel to validate that our | |
16 | * trace event macros match the kernel we run on. | |
17 | */ | |
18 | #include <trace/events/kvm.h> | |
6db3d13b MD |
19 | |
20 | /* | |
21 | * Create LTTng tracepoint probes. | |
22 | */ | |
23 | #define LTTNG_PACKAGE_BUILD | |
24 | #define CREATE_TRACE_POINTS | |
f62b389e | 25 | #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module |
6db3d13b | 26 | |
f62b389e | 27 | #include "../instrumentation/events/lttng-module/kvm.h" |
6db3d13b MD |
28 | |
29 | MODULE_LICENSE("GPL and additional rights"); | |
30 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
31 | MODULE_DESCRIPTION("LTTng kvm probes"); |