]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6923b128c903dd0d7f55f8f05e60b57b898b4fb4
treee756783f039a344733222f3122efc59c83dcd07a
parenta76c9e540518218d4cc521a5703b3e4eca5496a4
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