xref: /openbmc/linux/include/trace/misc/sunrpc.h (revision 162736b0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2021 Oracle and/or its affiliates.
4  *
5  * Common types and format specifiers for sunrpc.
6  */
7 
8 #if !defined(_TRACE_SUNRPC_BASE_H)
9 #define _TRACE_SUNRPC_BASE_H
10 
11 #include <linux/tracepoint.h>
12 
13 #define SUNRPC_TRACE_PID_SPECIFIER	"%08x"
14 #define SUNRPC_TRACE_CLID_SPECIFIER	"%08x"
15 #define SUNRPC_TRACE_TASK_SPECIFIER \
16 	"task:" SUNRPC_TRACE_PID_SPECIFIER "@" SUNRPC_TRACE_CLID_SPECIFIER
17 
18 #endif /* _TRACE_SUNRPC_BASE_H */
19