2009-04-10 14:26:18 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2008 Eduard - Gabriel Munteanu
|
|
|
|
*
|
|
|
|
* This file is released under GPL version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LINUX_KMEMTRACE_H
|
|
|
|
#define _LINUX_KMEMTRACE_H
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
2009-04-15 07:39:12 +08:00
|
|
|
#include <trace/events/kmem.h>
|
2009-04-10 14:26:18 +08:00
|
|
|
|
|
|
|
#ifdef CONFIG_KMEMTRACE
|
|
|
|
extern void kmemtrace_init(void);
|
|
|
|
#else
|
|
|
|
static inline void kmemtrace_init(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
|
|
|
|
#endif /* _LINUX_KMEMTRACE_H */
|
|
|
|
|