trace_clock.h 391 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_GENERIC_TRACE_CLOCK_H
  3. #define _ASM_GENERIC_TRACE_CLOCK_H
  4. /*
  5. * Arch-specific trace clocks.
  6. */
  7. /*
  8. * Additional trace clocks added to the trace_clocks
  9. * array in kernel/trace/trace.c
  10. * None if the architecture has not defined it.
  11. */
  12. #ifndef ARCH_TRACE_CLOCKS
  13. # define ARCH_TRACE_CLOCKS
  14. #endif
  15. #endif /* _ASM_GENERIC_TRACE_CLOCK_H */