summaryrefslogtreecommitdiff
path: root/net/sunrpc/auth_gss/trace.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-02-11 11:25:04 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-02-14 09:20:40 -0500
commit0c77668ddb4e7bdfbca462c6185d154d0b8889ae (patch)
treea3bfd1fa16a9a6dfb3fd6b377cbe2612dfdbe3c5 /net/sunrpc/auth_gss/trace.c
parenta0584ee9aed805446b044ce855e67264f0dc619e (diff)
SUNRPC: Introduce trace points in rpc_auth_gss.ko
Add infrastructure for trace points in the RPC_AUTH_GSS kernel module, and add a few sample trace points. These report exceptional or unexpected events, and observe the assignment of GSS sequence numbers. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/trace.c')
-rw-r--r--net/sunrpc/auth_gss/trace.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/sunrpc/auth_gss/trace.c b/net/sunrpc/auth_gss/trace.c
new file mode 100644
index 000000000000..5576f1e66de9
--- /dev/null
+++ b/net/sunrpc/auth_gss/trace.c
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2018, 2019 Oracle. All rights reserved.
+ */
+
+#include <linux/sunrpc/clnt.h>
+#include <linux/sunrpc/sched.h>
+#include <linux/sunrpc/gss_err.h>
+
+#define CREATE_TRACE_POINTS
+#include <trace/events/rpcgss.h>