mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 14:26:46 +07:00
ad8d75fff8
Impact: clean up Create a sub directory in include/trace called events to keep the trace point headers in their own separate directory. Only headers that declare trace points should be defined in this directory. Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Neil Horman <nhorman@tuxdriver.com> Cc: Zhao Lei <zhaolei@cn.fujitsu.com> Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
26 lines
385 B
C
26 lines
385 B
C
/*
|
|
* Copyright (C) 2008 Eduard - Gabriel Munteanu
|
|
*
|
|
* This file is released under GPL version 2.
|
|
*/
|
|
|
|
#ifndef _LINUX_KMEMTRACE_H
|
|
#define _LINUX_KMEMTRACE_H
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
#include <trace/events/kmem.h>
|
|
|
|
#ifdef CONFIG_KMEMTRACE
|
|
extern void kmemtrace_init(void);
|
|
#else
|
|
static inline void kmemtrace_init(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
#endif /* _LINUX_KMEMTRACE_H */
|
|
|