Files
erofs-linux/include/linux/kmemtrace.h
T
Steven Rostedt ad8d75fff8 tracing/events: move trace point headers into include/trace/events
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 <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Neil Horman <[email protected]>
Cc: Zhao Lei <[email protected]>
Cc: Eduard - Gabriel Munteanu <[email protected]>
Cc: Pekka Enberg <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
2009-04-14 22:05:43 -04:00

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 */