aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/kmemtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/kmemtrace.c')
-rw-r--r--kernel/trace/kmemtrace.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/kernel/trace/kmemtrace.c b/kernel/trace/kmemtrace.c
index 2f6fa47d410c..dda53ccf749b 100644
--- a/kernel/trace/kmemtrace.c
+++ b/kernel/trace/kmemtrace.c
@@ -239,7 +239,7 @@ struct kmemtrace_user_event_alloc {
239}; 239};
240 240
241static enum print_line_t 241static enum print_line_t
242kmemtrace_print_alloc_user(struct trace_iterator *iter, int flags) 242kmemtrace_print_alloc(struct trace_iterator *iter, int flags)
243{ 243{
244 struct trace_seq *s = &iter->seq; 244 struct trace_seq *s = &iter->seq;
245 struct kmemtrace_alloc_entry *entry; 245 struct kmemtrace_alloc_entry *entry;
@@ -259,7 +259,7 @@ kmemtrace_print_alloc_user(struct trace_iterator *iter, int flags)
259} 259}
260 260
261static enum print_line_t 261static enum print_line_t
262kmemtrace_print_free_user(struct trace_iterator *iter, int flags) 262kmemtrace_print_free(struct trace_iterator *iter, int flags)
263{ 263{
264 struct trace_seq *s = &iter->seq; 264 struct trace_seq *s = &iter->seq;
265 struct kmemtrace_free_entry *entry; 265 struct kmemtrace_free_entry *entry;
@@ -277,7 +277,7 @@ kmemtrace_print_free_user(struct trace_iterator *iter, int flags)
277} 277}
278 278
279static enum print_line_t 279static enum print_line_t
280kmemtrace_print_alloc_user_bin(struct trace_iterator *iter, int flags) 280kmemtrace_print_alloc_user(struct trace_iterator *iter, int flags)
281{ 281{
282 struct trace_seq *s = &iter->seq; 282 struct trace_seq *s = &iter->seq;
283 struct kmemtrace_alloc_entry *entry; 283 struct kmemtrace_alloc_entry *entry;
@@ -311,7 +311,7 @@ kmemtrace_print_alloc_user_bin(struct trace_iterator *iter, int flags)
311} 311}
312 312
313static enum print_line_t 313static enum print_line_t
314kmemtrace_print_free_user_bin(struct trace_iterator *iter, int flags) 314kmemtrace_print_free_user(struct trace_iterator *iter, int flags)
315{ 315{
316 struct trace_seq *s = &iter->seq; 316 struct trace_seq *s = &iter->seq;
317 struct kmemtrace_free_entry *entry; 317 struct kmemtrace_free_entry *entry;
@@ -467,14 +467,14 @@ static enum print_line_t kmemtrace_print_line(struct trace_iterator *iter)
467 467
468static struct trace_event kmem_trace_alloc = { 468static struct trace_event kmem_trace_alloc = {
469 .type = TRACE_KMEM_ALLOC, 469 .type = TRACE_KMEM_ALLOC,
470 .trace = kmemtrace_print_alloc_user, 470 .trace = kmemtrace_print_alloc,
471 .binary = kmemtrace_print_alloc_user_bin, 471 .binary = kmemtrace_print_alloc_user,
472}; 472};
473 473
474static struct trace_event kmem_trace_free = { 474static struct trace_event kmem_trace_free = {
475 .type = TRACE_KMEM_FREE, 475 .type = TRACE_KMEM_FREE,
476 .trace = kmemtrace_print_free_user, 476 .trace = kmemtrace_print_free,
477 .binary = kmemtrace_print_free_user_bin, 477 .binary = kmemtrace_print_free_user,
478}; 478};
479 479
480static struct tracer kmem_tracer __read_mostly = { 480static struct tracer kmem_tracer __read_mostly = {