summaryrefslogtreecommitdiffstats
path: root/include/linux/kmemtrace.h
blob: b616d3930c3b796f59978ce0a9da3001a1c1c732 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * 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 */