l2tp: add tracepoint definitions in trace.h
authorTom Parkin <tparkin@katalix.com>
Sat, 22 Aug 2020 14:59:05 +0000 (15:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Aug 2020 19:44:37 +0000 (12:44 -0700)
commit2a03dd8e115261008d44ffbb69297af56caa585f
treee756783f039a344733222f3122efc59c83dcd07a
parent3f117d6f4bbca722d9519e545294852d8e714fae
l2tp: add tracepoint definitions in trace.h

l2tp can provide a better debug experience using tracepoints rather than
printk-style logging.

Add tracepoint definitions in trace.h for use in the l2tp subsystem
code.

Add preprocessor definitions for the length of session and tunnel names
in l2tp_core.h so we can reuse these in trace.h.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.h
net/l2tp/trace.h