Fix: bytecode validator: oops during validation of immediate string
[lttng-modules.git] / probes / lttng-probe-timer.c
CommitLineData
9f36eaed
MJ
1/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
2 *
e54456f5
MD
3 * probes/lttng-probe-timer.c
4 *
e54456f5
MD
5 * LTTng timer probes.
6 *
886d51a3 7 * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
e54456f5
MD
8 */
9
10#include <linux/module.h>
156a3977 11#include <lttng-tracer.h>
e54456f5
MD
12
13/*
14 * Create the tracepoint static inlines from the kernel to validate that our
15 * trace event macros match the kernel we run on.
16 */
3a523f5b 17
e54456f5
MD
18#include <linux/sched.h>
19#include <trace/events/timer.h>
20
156a3977 21#include <wrapper/tracepoint.h>
7c68b363 22
e54456f5
MD
23/*
24 * Create LTTng tracepoint probes.
25 */
26#define LTTNG_PACKAGE_BUILD
27#define CREATE_TRACE_POINTS
156a3977 28#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
e54456f5 29
156a3977 30#include <instrumentation/events/lttng-module/timer.h>
e54456f5
MD
31
32MODULE_LICENSE("GPL and additional rights");
33MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
34MODULE_DESCRIPTION("LTTng timer probes");
13ab8b0a
MD
35MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
36 __stringify(LTTNG_MODULES_MINOR_VERSION) "."
37 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
38 LTTNG_MODULES_EXTRAVERSION);
This page took 0.047565 seconds and 4 git commands to generate.