commit | 050d968377647125cfe93679e5bb8ba752827269 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Google) <rostedt@goodmis.org> | Wed Nov 09 18:52:09 2022 -0500 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Wed Nov 09 20:16:03 2022 -0500 |
tree | 9c448803f8b57d71a09ed2e57fe33dbe1c084052 | |
parent | da88fcef46b46a091ac5eab30c04fc00fdd58b93 [diff] |
libtracefs: Add tracefs_cpu_pipe() Add the interface to call splice directly from the tracefs_cpu descriptor. The requirement is that either the passed in file descriptor is a pipe, or that the tcpu was created with tracefs_cpu_create_fd() and the fd used there was a pipe. Link: https://lore.kernel.org/linux-trace-devel/20221109235214.2191393-4-rostedt@goodmis.org Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>