]> www.infradead.org Git - users/dwmw2/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:19:24 +0000 (16:19 +0200)
[ Upstream commit 247c01ff5f8d66e62a404c91733be52fecb8b7f6 ]

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>
Stable-dep-of: 638593be55c0 ("NFSD: add CB_RECALL_ANY tracepoints")
Signed-off-by: Chuck Lever <chuck.lever@oracle.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 9216b9c85ce92fbcbb65767ddb32291ee6faaf03..6bfc75861c8c0666828c853ab4e426918efcceec 100644 (file)
@@ -9200,6 +9200,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
@@ -10181,6 +10182,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 635f13a8d44aab144be8d5211bc4ca5b24d0e43d..8565fa654f59a18d795ce5e8513e2a98c806b2b5 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 f6013d3b110b8ae4d9fd0b45961615afb756d480..6804ca2efbf99754a47e87f508c8c1f1a1a7ba9c 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 3ba63319af3cd7afc19d12cfeb36550ce0e33ad0..b8fd13303ee7eab9ca97488fbe7bd3f914faa7e4 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 28ea73bba4e7852a3e596157b1f7034c9b663da1..513c09774e4f31264a42ace56e01327c6f3946f5 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 68ae89c9a1c20ca5f12989103359e45b98d17716..e8eb83315f4f26f26d8e18abf08da9065f7bebdb 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);