summaryrefslogtreecommitdiffstats
path: root/net/handshake/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/handshake/trace.c')
-rw-r--r--net/handshake/trace.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/handshake/trace.c b/net/handshake/trace.c
new file mode 100644
index 000000000..44432d085
--- /dev/null
+++ b/net/handshake/trace.c
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Trace points for transport security layer handshakes.
+ *
+ * Author: Chuck Lever <chuck.lever@oracle.com>
+ *
+ * Copyright (c) 2023, Oracle and/or its affiliates.
+ */
+
+#include <linux/types.h>
+#include <linux/ipv6.h>
+
+#include <net/sock.h>
+#include <net/inet_sock.h>
+#include <net/netlink.h>
+#include <net/genetlink.h>
+
+#include "handshake.h"
+
+#define CREATE_TRACE_POINTS
+
+#include <trace/events/handshake.h>