mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 23:24:11 +08:00
247c01ff5f
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>
19 lines
474 B
C
19 lines
474 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2021 Oracle and/or its affiliates.
|
|
*
|
|
* Common types and format specifiers for sunrpc.
|
|
*/
|
|
|
|
#if !defined(_TRACE_SUNRPC_BASE_H)
|
|
#define _TRACE_SUNRPC_BASE_H
|
|
|
|
#include <linux/tracepoint.h>
|
|
|
|
#define SUNRPC_TRACE_PID_SPECIFIER "%08x"
|
|
#define SUNRPC_TRACE_CLID_SPECIFIER "%08x"
|
|
#define SUNRPC_TRACE_TASK_SPECIFIER \
|
|
"task:" SUNRPC_TRACE_PID_SPECIFIER "@" SUNRPC_TRACE_CLID_SPECIFIER
|
|
|
|
#endif /* _TRACE_SUNRPC_BASE_H */
|