sunrpc_base.h 474 B

123456789101112131415161718
  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. #if !defined(_TRACE_SUNRPC_BASE_H)
  8. #define _TRACE_SUNRPC_BASE_H
  9. #include <linux/tracepoint.h>
  10. #define SUNRPC_TRACE_PID_SPECIFIER "%08x"
  11. #define SUNRPC_TRACE_CLID_SPECIFIER "%08x"
  12. #define SUNRPC_TRACE_TASK_SPECIFIER \
  13. "task:" SUNRPC_TRACE_PID_SPECIFIER "@" SUNRPC_TRACE_CLID_SPECIFIER
  14. #endif /* _TRACE_SUNRPC_BASE_H */