Linux Audio

Check our new training course

Loading...
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_X86_TRACE_CLOCK_H
 3#define _ASM_X86_TRACE_CLOCK_H
 4
 5#include <linux/compiler.h>
 6#include <linux/types.h>
 7
 8#ifdef CONFIG_X86_TSC
 9
10extern u64 notrace trace_clock_x86_tsc(void);
11
12# define ARCH_TRACE_CLOCKS \
13	{ trace_clock_x86_tsc,	"x86-tsc",	.in_ns = 0 },
14
15#else /* !CONFIG_X86_TSC */
16
17#define ARCH_TRACE_CLOCKS
18
19#endif
20
21#endif  /* _ASM_X86_TRACE_CLOCK_H */
v4.6
 
 1#ifndef _ASM_X86_TRACE_CLOCK_H
 2#define _ASM_X86_TRACE_CLOCK_H
 3
 4#include <linux/compiler.h>
 5#include <linux/types.h>
 6
 7#ifdef CONFIG_X86_TSC
 8
 9extern u64 notrace trace_clock_x86_tsc(void);
10
11# define ARCH_TRACE_CLOCKS \
12	{ trace_clock_x86_tsc,	"x86-tsc",	.in_ns = 0 },
13
14#else /* !CONFIG_X86_TSC */
15
16#define ARCH_TRACE_CLOCKS
17
18#endif
19
20#endif  /* _ASM_X86_TRACE_CLOCK_H */