]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
trace: Relocate event helper files
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Nov 2022 13:57:43 +0000 (08:57 -0500)
committerChuck Lever <cel@kernel.org>
Sat, 10 Dec 2022 16:01:12 +0000 (11:01 -0500)
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: Chuck Lever <chuck.lever@oracle.com>
Acked-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
12 files changed:
MAINTAINERS
drivers/infiniband/core/cm_trace.h
drivers/infiniband/core/cma_trace.h
fs/nfs/nfs4trace.h
fs/nfs/nfstrace.h
include/trace/events/rpcgss.h
include/trace/events/rpcrdma.h
include/trace/events/sunrpc.h
include/trace/misc/fs.h [moved from include/trace/events/fs.h with 100% similarity]
include/trace/misc/nfs.h [moved from include/trace/events/nfs.h with 100% similarity]
include/trace/misc/rdma.h [moved from include/trace/events/rdma.h with 100% similarity]
include/trace/misc/sunrpc.h [moved from include/trace/events/sunrpc_base.h with 100% similarity]

index 50aa3ee8df38bc833164089aaf039487ceea07e2..5e9b99dcd2ed438e0dee23f837ad3a9124f316b6 100644 (file)
@@ -10055,6 +10055,7 @@ F:      drivers/infiniband/
 F:     include/rdma/
 F:     include/trace/events/ib_mad.h
 F:     include/trace/events/ib_umad.h
+F:     include/trace/misc/rdma.h
 F:     include/uapi/linux/if_infiniband.h
 F:     include/uapi/rdma/
 F:     samples/bpf/ibumad_kern.c
@@ -11140,6 +11141,12 @@ F:     fs/nfs_common/
 F:     fs/nfsd/
 F:     include/linux/lockd/
 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/sunrpc/
 F:     net/sunrpc/
index e9d282679ef15542e05f32a7867c018edcd38a65..944d9071245d26bc4ef4fae0fdd242e14e095770 100644 (file)
@@ -16,7 +16,7 @@
 
 #include <linux/tracepoint.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
index e45264267bcc99f6929662bf3793ef52b055406d..47f3c6e4be8932affcd57d2e7e83fb0a97ec1e1c 100644 (file)
@@ -15,7 +15,7 @@
 #define _TRACE_RDMA_CMA_H
 
 #include <linux/tracepoint.h>
-#include <trace/events/rdma.h>
+#include <trace/misc/rdma.h>
 
 
 DECLARE_EVENT_CLASS(cma_fsm_class,
index 2cff5901c6894f209035b2bc812476f03954a555..633cc64a04daf18c90dc3ec7f6bfc7b004cf35e6 100644 (file)
@@ -9,10 +9,10 @@
 #define _TRACE_NFS4_H
 
 #include <linux/tracepoint.h>
-#include <trace/events/sunrpc_base.h>
+#include <trace/misc/sunrpc.h>
 
-#include <trace/events/fs.h>
-#include <trace/events/nfs.h>
+#include <trace/misc/fs.h>
+#include <trace/misc/nfs.h>
 
 #define show_nfs_fattr_flags(valid) \
        __print_flags((unsigned long)valid, "|", \
index 8c6cc58679ff85f1d4730da3297443328c7eb4c5..642f6921852fa8c7895f60d1a6363811fdc16580 100644 (file)
@@ -11,9 +11,9 @@
 #include <linux/tracepoint.h>
 #include <linux/iversion.h>
 
-#include <trace/events/fs.h>
-#include <trace/events/nfs.h>
-#include <trace/events/sunrpc_base.h>
+#include <trace/misc/fs.h>
+#include <trace/misc/nfs.h>
+#include <trace/misc/sunrpc.h>
 
 #define nfs_show_cache_validity(v) \
        __print_flags(v, "|", \
index c9048f3e471bb99f309696085227f7a6b9455a91..3f121eed369e8332de5679c8e05238a799125989 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <linux/tracepoint.h>
 
-#include <trace/events/sunrpc_base.h>
+#include <trace/misc/sunrpc.h>
 
 /**
  ** GSS-API related trace events
index fcd3b3f1020a6fd95f6f30ae16e7ac805ed11655..8f461e04e5f099bfbeb6bea89d33a1d4f93cc28b 100644 (file)
@@ -15,8 +15,8 @@
 #include <linux/tracepoint.h>
 #include <rdma/ib_cm.h>
 
-#include <trace/events/rdma.h>
-#include <trace/events/sunrpc_base.h>
+#include <trace/misc/rdma.h>
+#include <trace/misc/sunrpc.h>
 
 /**
  ** Event classes
index f48f2ab9d238b5998f163a48653e07d58f4f2bf9..ffe2679a13ced7e7c596bd345180006f0c722987 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/net.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_DGRAM);