diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2011-03-16 19:04:30 -0400 |
---|---|---|
committer | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2011-03-16 19:04:30 -0400 |
commit | 6023807158361fba71ef47eb84912cb95685dd14 (patch) | |
tree | d414471f3ddf8ac7ef6ec28322054723ffbb8393 /mm | |
parent | 9b827e2545a7ef851246dc60aade9454c1fd63a8 (diff) |
lttng-instrumentation/lttng-instrumentation-mm-tracepoints-probes
LTTng instrumentation mm tracepoint probes
Create a module which declares mm tracepoint probes, using markers.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
CC: Alexander Viro <viro@zeniv.linux.org.uk>
CC: 'Peter Zijlstra' <peterz@infradead.org>
CC: "Frank Ch. Eigler" <fche@redhat.com>
CC: 'Ingo Molnar' <mingo@elte.hu>
CC: 'Hideo AOKI' <haoki@redhat.com>
CC: Takashi Nishiie <t-nishiie@np.css.fujitsu.com>
CC: 'Steven Rostedt' <rostedt@goodmis.org>
CC: Masami Hiramatsu <mhiramat@redhat.com>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/swapfile.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index 0341c5700e3..5a001ff3055 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -2280,6 +2280,13 @@ int swap_duplicate(swp_entry_t entry) return err; } +struct swap_info_struct * +get_swap_info_struct(unsigned type) +{ + return swap_info[type]; +} +EXPORT_SYMBOL_GPL(get_swap_info_struct); + /* * @entry: swap entry for which we allocate swap cache. * |