Cleanup: Move lttng-modules instrumentation headers
[lttng-modules.git] / probes / lttng-probe-workqueue.c
CommitLineData
b7cdc182 1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
9f36eaed 2 *
b87700e3
AG
3 * probes/lttng-probe-workqueue.c
4 *
5 * LTTng workqueue 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>
12#include <linux/idr.h>
2df37e95 13#include <lttng/tracer.h>
b87700e3
AG
14
15struct cpu_workqueue_struct;
20008d8c 16struct pool_workqueue;
b87700e3
AG
17
18/*
19 * Create the tracepoint static inlines from the kernel to validate that our
20 * trace event macros match the kernel we run on.
21 */
22#include <trace/events/workqueue.h>
23
156a3977 24#include <wrapper/tracepoint.h>
b87700e3
AG
25
26/*
27 * Create LTTng tracepoint probes.
28 */
29#define LTTNG_PACKAGE_BUILD
30#define CREATE_TRACE_POINTS
4f47ccf0 31#define TRACE_INCLUDE_PATH instrumentation/events
b87700e3 32
4f47ccf0 33#include <instrumentation/events/workqueue.h>
b87700e3
AG
34
35MODULE_LICENSE("GPL and additional rights");
36MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
37MODULE_DESCRIPTION("LTTng workqueue probes");
13ab8b0a
MD
38MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
39 __stringify(LTTNG_MODULES_MINOR_VERSION) "."
40 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
41 LTTNG_MODULES_EXTRAVERSION);
This page took 0.03669 seconds and 4 git commands to generate.