Cleanup: Move lttng-modules instrumentation headers
[lttng-modules.git] / probes / lttng-probe-random.c
CommitLineData
b7cdc182 1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
9f36eaed 2 *
b87700e3
AG
3 * probes/lttng-probe-random.c
4 *
5 * LTTng random probes.
6 *
7 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Copyright (C) 2012 Mentor Graphics Corp.
b87700e3
AG
9 */
10
11#include <linux/module.h>
2df37e95 12#include <lttng/tracer.h>
b87700e3
AG
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/random.h>
19
20/*
21 * Create LTTng tracepoint probes.
22 */
23#define LTTNG_PACKAGE_BUILD
24#define CREATE_TRACE_POINTS
4f47ccf0 25#define TRACE_INCLUDE_PATH instrumentation/events
b87700e3 26
4f47ccf0 27#include <instrumentation/events/random.h>
b87700e3
AG
28
29MODULE_LICENSE("GPL and additional rights");
30MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
31MODULE_DESCRIPTION("LTTng random probes");
13ab8b0a
MD
32MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
33 __stringify(LTTNG_MODULES_MINOR_VERSION) "."
34 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
35 LTTNG_MODULES_EXTRAVERSION);
This page took 0.035945 seconds and 4 git commands to generate.