mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Steven Rostedt](/assets/img/avatar_default.png)
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>
25 lines
385 B
C
25 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 */
|
|
|