blob: b616d3930c3b796f59978ce0a9da3001a1c1c732 [file] [log] [blame]
Zhaolei02af61b2009-04-10 14:26:18 +08001/*
2 * Copyright (C) 2008 Eduard - Gabriel Munteanu
3 *
4 * This file is released under GPL version 2.
5 */
6
7#ifndef _LINUX_KMEMTRACE_H
8#define _LINUX_KMEMTRACE_H
9
10#ifdef __KERNEL__
11
Steven Rostedtad8d75f2009-04-14 19:39:12 -040012#include <trace/events/kmem.h>
Zhaolei02af61b2009-04-10 14:26:18 +080013
14#ifdef CONFIG_KMEMTRACE
15extern void kmemtrace_init(void);
16#else
17static inline void kmemtrace_init(void)
18{
19}
20#endif
21
22#endif /* __KERNEL__ */
23
24#endif /* _LINUX_KMEMTRACE_H */
25