diff options
author | Tom Parkin <tparkin@katalix.com> | 2020-08-22 15:59:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-22 12:44:37 -0700 |
commit | 3f117d6f4bbca722d9519e545294852d8e714fae (patch) | |
tree | a61a8309c9b41ed997892c3b68106311b63f1d81 /net/l2tp/l2tp_core.c | |
parent | l2tp: use standard API for warning log messages (diff) | |
download | linux-dev-3f117d6f4bbca722d9519e545294852d8e714fae.tar.xz linux-dev-3f117d6f4bbca722d9519e545294852d8e714fae.zip |
l2tp: add tracepoint infrastructure to core
The l2tp subsystem doesn't currently make use of tracepoints.
As a starting point for adding tracepoints, add skeleton infrastructure
for defining tracepoints for the subsystem, and for having them build
appropriately whether compiled into the kernel or built as a module.
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.c')
-rw-r--r-- | net/l2tp/l2tp_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 54f46ed97b3d..aee5b230469f 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -62,6 +62,9 @@ #include "l2tp_core.h" +#define CREATE_TRACE_POINTS +#include "trace.h" + #define L2TP_DRV_VERSION "V2.0" /* L2TP header constants */ |