Zhaolei | 02af61b | 2009-04-10 14:26:18 +0800 | [diff] [blame] | 1 | /* |
| 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 Rostedt | ad8d75f | 2009-04-14 19:39:12 -0400 | [diff] [blame] | 12 | #include <trace/events/kmem.h> |
Zhaolei | 02af61b | 2009-04-10 14:26:18 +0800 | [diff] [blame] | 13 | |
| 14 | #ifdef CONFIG_KMEMTRACE |
| 15 | extern void kmemtrace_init(void); |
| 16 | #else |
| 17 | static inline void kmemtrace_init(void) |
| 18 | { |
| 19 | } |
| 20 | #endif |
| 21 | |
| 22 | #endif /* __KERNEL__ */ |
| 23 | |
| 24 | #endif /* _LINUX_KMEMTRACE_H */ |
| 25 | |