projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff1ebb
)
SUNRPC: svc_show_status() macro should have enum definitions
author
Chuck Lever
<chuck.lever@oracle.com>
Wed, 15 Apr 2020 13:47:41 +0000
(09:47 -0400)
committer
Chuck Lever
<chuck.lever@oracle.com>
Wed, 20 May 2020 21:30:27 +0000
(17:30 -0400)
Clean up: Add missing TRACE_DEFINE_ENUMs in
include/trace/events/sunrpc.h
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/trace/events/sunrpc.h
patch
|
blob
|
history
diff --git
a/include/trace/events/sunrpc.h
b/include/trace/events/sunrpc.h
index 08c7d618ceb49c16fb9c8e49a421c586dca34808..2a7f6f83341fba6654e194d0615e285701bdfecd 100644
(file)
--- a/
include/trace/events/sunrpc.h
+++ b/
include/trace/events/sunrpc.h
@@
-1057,6
+1057,17
@@
TRACE_EVENT(svc_recv,
show_rqstp_flags(__entry->flags))
);
+TRACE_DEFINE_ENUM(SVC_GARBAGE);
+TRACE_DEFINE_ENUM(SVC_SYSERR);
+TRACE_DEFINE_ENUM(SVC_VALID);
+TRACE_DEFINE_ENUM(SVC_NEGATIVE);
+TRACE_DEFINE_ENUM(SVC_OK);
+TRACE_DEFINE_ENUM(SVC_DROP);
+TRACE_DEFINE_ENUM(SVC_CLOSE);
+TRACE_DEFINE_ENUM(SVC_DENIED);
+TRACE_DEFINE_ENUM(SVC_PENDING);
+TRACE_DEFINE_ENUM(SVC_COMPLETE);
+
#define svc_show_status(status) \
__print_symbolic(status, \
{ SVC_GARBAGE, "SVC_GARBAGE" }, \