page alloc wrapper: Fix get_pfnblock_flags_mask prototype
[lttng-modules.git] / probes / lttng-probe-kmem.c
... / ...
CommitLineData
1/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
2 *
3 * probes/lttng-probe-kmem.c
4 *
5 * LTTng kmem probes.
6 *
7 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Copyright (C) 2012 Mentor Graphics Corp.
9 */
10
11/*
12 * This page_alloc.h wrapper needs to be included before gfpflags.h because it
13 * overrides a function with a define.
14 */
15#include <wrapper/page_alloc.h>
16#include <linux/module.h>
17#include <linux/mm.h>
18#include <lttng-tracer.h>
19
20/*
21 * Create the tracepoint static inlines from the kernel to validate that our
22 * trace event macros match the kernel we run on.
23 */
24#include <trace/events/kmem.h>
25
26#include <wrapper/tracepoint.h>
27
28/*
29 * Create LTTng tracepoint probes.
30 */
31#define LTTNG_PACKAGE_BUILD
32#define CREATE_TRACE_POINTS
33#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
34
35#include <instrumentation/events/lttng-module/kmem.h>
36
37MODULE_LICENSE("GPL and additional rights");
38MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com>");
39MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
40MODULE_DESCRIPTION("LTTng kmem probes");
41MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
42 __stringify(LTTNG_MODULES_MINOR_VERSION) "."
43 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
44 LTTNG_MODULES_EXTRAVERSION);
This page took 0.02244 seconds and 4 git commands to generate.