summaryrefslogtreecommitdiff
path: root/net/tls/trace.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-10-04 16:19:22 -0700
committerDavid S. Miller <davem@davemloft.net>2019-10-05 16:29:00 -0700
commit8538d29cea9530f114159e06bfa31b2358161493 (patch)
tree3e48fce47f0103d9597997d4a46fb5c913371911 /net/tls/trace.c
parent6f4c930e02355664d89c976eccea5d999a90de16 (diff)
downloadlwn-8538d29cea9530f114159e06bfa31b2358161493.tar.gz
lwn-8538d29cea9530f114159e06bfa31b2358161493.zip
net/tls: add tracing for device/offload events
Add tracing of device-related interaction to aid performance analysis, especially around resync: tls:tls_device_offload_set tls:tls_device_rx_resync_send tls:tls_device_rx_resync_nh_schedule tls:tls_device_rx_resync_nh_delay tls:tls_device_tx_resync_req tls:tls_device_tx_resync_send Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/trace.c')
-rw-r--r--net/tls/trace.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/tls/trace.c b/net/tls/trace.c
new file mode 100644
index 000000000000..e374913cf9c9
--- /dev/null
+++ b/net/tls/trace.c
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/* Copyright (C) 2019 Netronome Systems, Inc. */
+
+#include <linux/module.h>
+
+#ifndef __CHECKER__
+#define CREATE_TRACE_POINTS
+#include "trace.h"
+
+#endif