Commit 247c01ff authored by Chuck Lever's avatar Chuck Lever Committed by Chuck Lever

trace: Relocate event helper files

Steven Rostedt says:
> The include/trace/events/ directory should only hold files that
> are to create events, not headers that hold helper functions.
>
> Can you please move them out of include/trace/events/ as that
> directory is "special" in the creation of events.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Acked-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Acked-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 79a1d88a
...@@ -10055,6 +10055,7 @@ F: drivers/infiniband/ ...@@ -10055,6 +10055,7 @@ F: drivers/infiniband/
F: include/rdma/ F: include/rdma/
F: include/trace/events/ib_mad.h F: include/trace/events/ib_mad.h
F: include/trace/events/ib_umad.h F: include/trace/events/ib_umad.h
F: include/trace/misc/rdma.h
F: include/uapi/linux/if_infiniband.h F: include/uapi/linux/if_infiniband.h
F: include/uapi/rdma/ F: include/uapi/rdma/
F: samples/bpf/ibumad_kern.c F: samples/bpf/ibumad_kern.c
...@@ -11140,6 +11141,12 @@ F: fs/nfs_common/ ...@@ -11140,6 +11141,12 @@ F: fs/nfs_common/
F: fs/nfsd/ F: fs/nfsd/
F: include/linux/lockd/ F: include/linux/lockd/
F: include/linux/sunrpc/ F: include/linux/sunrpc/
F: include/trace/events/rpcgss.h
F: include/trace/events/rpcrdma.h
F: include/trace/events/sunrpc.h
F: include/trace/misc/fs.h
F: include/trace/misc/nfs.h
F: include/trace/misc/sunrpc.h
F: include/uapi/linux/nfsd/ F: include/uapi/linux/nfsd/
F: include/uapi/linux/sunrpc/ F: include/uapi/linux/sunrpc/
F: net/sunrpc/ F: net/sunrpc/
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <rdma/ib_cm.h> #include <rdma/ib_cm.h>
#include <trace/events/rdma.h> #include <trace/misc/rdma.h>
/* /*
* enum ib_cm_state, from include/rdma/ib_cm.h * enum ib_cm_state, from include/rdma/ib_cm.h
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#define _TRACE_RDMA_CMA_H #define _TRACE_RDMA_CMA_H
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <trace/events/rdma.h> #include <trace/misc/rdma.h>
DECLARE_EVENT_CLASS(cma_fsm_class, DECLARE_EVENT_CLASS(cma_fsm_class,
......
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
#define _TRACE_NFS4_H #define _TRACE_NFS4_H
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <trace/events/sunrpc_base.h> #include <trace/misc/sunrpc.h>
#include <trace/events/fs.h> #include <trace/misc/fs.h>
#include <trace/events/nfs.h> #include <trace/misc/nfs.h>
#define show_nfs_fattr_flags(valid) \ #define show_nfs_fattr_flags(valid) \
__print_flags((unsigned long)valid, "|", \ __print_flags((unsigned long)valid, "|", \
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <linux/iversion.h> #include <linux/iversion.h>
#include <trace/events/fs.h> #include <trace/misc/fs.h>
#include <trace/events/nfs.h> #include <trace/misc/nfs.h>
#include <trace/events/sunrpc_base.h> #include <trace/misc/sunrpc.h>
#define nfs_show_cache_validity(v) \ #define nfs_show_cache_validity(v) \
__print_flags(v, "|", \ __print_flags(v, "|", \
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <trace/events/sunrpc_base.h> #include <trace/misc/sunrpc.h>
/** /**
** GSS-API related trace events ** GSS-API related trace events
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <rdma/ib_cm.h> #include <rdma/ib_cm.h>
#include <trace/events/rdma.h> #include <trace/misc/rdma.h>
#include <trace/events/sunrpc_base.h> #include <trace/misc/sunrpc.h>
/** /**
** Event classes ** Event classes
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <linux/net.h> #include <linux/net.h>
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <trace/events/sunrpc_base.h> #include <trace/misc/sunrpc.h>
TRACE_DEFINE_ENUM(SOCK_STREAM); TRACE_DEFINE_ENUM(SOCK_STREAM);
TRACE_DEFINE_ENUM(SOCK_DGRAM); TRACE_DEFINE_ENUM(SOCK_DGRAM);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment