]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/linux/kmemtrace.h
mm: clean up mm_counter
[mirror_ubuntu-zesty-kernel.git] / include / linux / kmemtrace.h
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
12 #include <trace/events/kmem.h>
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