Cleanup: Move lttng-modules instrumentation headers
[lttng-modules.git] / probes / lttng-probe-gpio.c
CommitLineData
b7cdc182 1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
9f36eaed 2 *
b283666f
PW
3 * probes/lttng-probe-gpio.c
4 *
5 * LTTng gpio probes.
6 *
7 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Copyright (C) 2012 Mentor Graphics Corp.
b283666f
PW
9 */
10
11#include <linux/module.h>
2df37e95 12#include <lttng/tracer.h>
b283666f
PW
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/gpio.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
b283666f 26
4f47ccf0 27#include <instrumentation/events/gpio.h>
b283666f
PW
28
29MODULE_LICENSE("GPL and additional rights");
30MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com>");
31MODULE_DESCRIPTION("LTTng gpio 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.037512 seconds and 4 git commands to generate.