diff options
-rw-r--r-- | kernel/trace/ftrace.c | 30 | ||||
-rw-r--r-- | kernel/trace/trace.c | 44 | ||||
-rw-r--r-- | kernel/trace/trace_branch.c | 26 | ||||
-rw-r--r-- | kernel/trace/trace_events.c | 4 | ||||
-rw-r--r-- | kernel/trace/trace_events_trigger.c | 2 | ||||
-rw-r--r-- | kernel/trace/trace_functions.c | 2 | ||||
-rw-r--r-- | kernel/trace/trace_functions_graph.c | 28 | ||||
-rw-r--r-- | kernel/trace/trace_kprobe.c | 4 | ||||
-rw-r--r-- | kernel/trace/trace_uprobe.c | 2 |
9 files changed, 71 insertions, 71 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 1a13e615a068..6233f9102179 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -571,13 +571,13 @@ static int function_stat_cmp(void *p1, void *p2) | |||
571 | static int function_stat_headers(struct seq_file *m) | 571 | static int function_stat_headers(struct seq_file *m) |
572 | { | 572 | { |
573 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 573 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
574 | seq_printf(m, " Function " | 574 | seq_puts(m, " Function " |
575 | "Hit Time Avg s^2\n" | 575 | "Hit Time Avg s^2\n" |
576 | " -------- " | 576 | " -------- " |
577 | "--- ---- --- ---\n"); | 577 | "--- ---- --- ---\n"); |
578 | #else | 578 | #else |
579 | seq_printf(m, " Function Hit\n" | 579 | seq_puts(m, " Function Hit\n" |
580 | " -------- ---\n"); | 580 | " -------- ---\n"); |
581 | #endif | 581 | #endif |
582 | return 0; | 582 | return 0; |
583 | } | 583 | } |
@@ -604,7 +604,7 @@ static int function_stat_show(struct seq_file *m, void *v) | |||
604 | seq_printf(m, " %-30.30s %10lu", str, rec->counter); | 604 | seq_printf(m, " %-30.30s %10lu", str, rec->counter); |
605 | 605 | ||
606 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 606 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
607 | seq_printf(m, " "); | 607 | seq_puts(m, " "); |
608 | avg = rec->time; | 608 | avg = rec->time; |
609 | do_div(avg, rec->counter); | 609 | do_div(avg, rec->counter); |
610 | 610 | ||
@@ -3006,9 +3006,9 @@ static int t_show(struct seq_file *m, void *v) | |||
3006 | 3006 | ||
3007 | if (iter->flags & FTRACE_ITER_PRINTALL) { | 3007 | if (iter->flags & FTRACE_ITER_PRINTALL) { |
3008 | if (iter->flags & FTRACE_ITER_NOTRACE) | 3008 | if (iter->flags & FTRACE_ITER_NOTRACE) |
3009 | seq_printf(m, "#### no functions disabled ####\n"); | 3009 | seq_puts(m, "#### no functions disabled ####\n"); |
3010 | else | 3010 | else |
3011 | seq_printf(m, "#### all functions enabled ####\n"); | 3011 | seq_puts(m, "#### all functions enabled ####\n"); |
3012 | return 0; | 3012 | return 0; |
3013 | } | 3013 | } |
3014 | 3014 | ||
@@ -3030,13 +3030,13 @@ static int t_show(struct seq_file *m, void *v) | |||
3030 | seq_printf(m, "\ttramp: %pS", | 3030 | seq_printf(m, "\ttramp: %pS", |
3031 | (void *)ops->trampoline); | 3031 | (void *)ops->trampoline); |
3032 | else | 3032 | else |
3033 | seq_printf(m, "\ttramp: ERROR!"); | 3033 | seq_puts(m, "\ttramp: ERROR!"); |
3034 | 3034 | ||
3035 | } | 3035 | } |
3036 | add_trampoline_func(m, ops, rec); | 3036 | add_trampoline_func(m, ops, rec); |
3037 | } | 3037 | } |
3038 | 3038 | ||
3039 | seq_printf(m, "\n"); | 3039 | seq_putc(m, '\n'); |
3040 | 3040 | ||
3041 | return 0; | 3041 | return 0; |
3042 | } | 3042 | } |
@@ -4233,9 +4233,9 @@ static int g_show(struct seq_file *m, void *v) | |||
4233 | struct ftrace_graph_data *fgd = m->private; | 4233 | struct ftrace_graph_data *fgd = m->private; |
4234 | 4234 | ||
4235 | if (fgd->table == ftrace_graph_funcs) | 4235 | if (fgd->table == ftrace_graph_funcs) |
4236 | seq_printf(m, "#### all functions enabled ####\n"); | 4236 | seq_puts(m, "#### all functions enabled ####\n"); |
4237 | else | 4237 | else |
4238 | seq_printf(m, "#### no functions disabled ####\n"); | 4238 | seq_puts(m, "#### no functions disabled ####\n"); |
4239 | return 0; | 4239 | return 0; |
4240 | } | 4240 | } |
4241 | 4241 | ||
@@ -5155,12 +5155,12 @@ static int fpid_show(struct seq_file *m, void *v) | |||
5155 | const struct ftrace_pid *fpid = list_entry(v, struct ftrace_pid, list); | 5155 | const struct ftrace_pid *fpid = list_entry(v, struct ftrace_pid, list); |
5156 | 5156 | ||
5157 | if (v == (void *)1) { | 5157 | if (v == (void *)1) { |
5158 | seq_printf(m, "no pid\n"); | 5158 | seq_puts(m, "no pid\n"); |
5159 | return 0; | 5159 | return 0; |
5160 | } | 5160 | } |
5161 | 5161 | ||
5162 | if (fpid->pid == ftrace_swapper_pid) | 5162 | if (fpid->pid == ftrace_swapper_pid) |
5163 | seq_printf(m, "swapper tasks\n"); | 5163 | seq_puts(m, "swapper tasks\n"); |
5164 | else | 5164 | else |
5165 | seq_printf(m, "%u\n", pid_vnr(fpid->pid)); | 5165 | seq_printf(m, "%u\n", pid_vnr(fpid->pid)); |
5166 | 5166 | ||
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 75798ab8eb88..a419db75152c 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -2860,44 +2860,44 @@ static void test_ftrace_alive(struct seq_file *m) | |||
2860 | { | 2860 | { |
2861 | if (!ftrace_is_dead()) | 2861 | if (!ftrace_is_dead()) |
2862 | return; | 2862 | return; |
2863 | seq_printf(m, "# WARNING: FUNCTION TRACING IS CORRUPTED\n"); | 2863 | seq_puts(m, "# WARNING: FUNCTION TRACING IS CORRUPTED\n"); |
2864 | seq_printf(m, "# MAY BE MISSING FUNCTION EVENTS\n"); | 2864 | seq_puts(m, "# MAY BE MISSING FUNCTION EVENTS\n"); |
2865 | } | 2865 | } |
2866 | 2866 | ||
2867 | #ifdef CONFIG_TRACER_MAX_TRACE | 2867 | #ifdef CONFIG_TRACER_MAX_TRACE |
2868 | static void show_snapshot_main_help(struct seq_file *m) | 2868 | static void show_snapshot_main_help(struct seq_file *m) |
2869 | { | 2869 | { |
2870 | seq_printf(m, "# echo 0 > snapshot : Clears and frees snapshot buffer\n"); | 2870 | seq_puts(m, "# echo 0 > snapshot : Clears and frees snapshot buffer\n"); |
2871 | seq_printf(m, "# echo 1 > snapshot : Allocates snapshot buffer, if not already allocated.\n"); | 2871 | seq_puts(m, "# echo 1 > snapshot : Allocates snapshot buffer, if not already allocated.\n"); |
2872 | seq_printf(m, "# Takes a snapshot of the main buffer.\n"); | 2872 | seq_puts(m, "# Takes a snapshot of the main buffer.\n"); |
2873 | seq_printf(m, "# echo 2 > snapshot : Clears snapshot buffer (but does not allocate or free)\n"); | 2873 | seq_puts(m, "# echo 2 > snapshot : Clears snapshot buffer (but does not allocate or free)\n"); |
2874 | seq_printf(m, "# (Doesn't have to be '2' works with any number that\n"); | 2874 | seq_puts(m, "# (Doesn't have to be '2' works with any number that\n"); |
2875 | seq_printf(m, "# is not a '0' or '1')\n"); | 2875 | seq_puts(m, "# is not a '0' or '1')\n"); |
2876 | } | 2876 | } |
2877 | 2877 | ||
2878 | static void show_snapshot_percpu_help(struct seq_file *m) | 2878 | static void show_snapshot_percpu_help(struct seq_file *m) |
2879 | { | 2879 | { |
2880 | seq_printf(m, "# echo 0 > snapshot : Invalid for per_cpu snapshot file.\n"); | 2880 | seq_puts(m, "# echo 0 > snapshot : Invalid for per_cpu snapshot file.\n"); |
2881 | #ifdef CONFIG_RING_BUFFER_ALLOW_SWAP | 2881 | #ifdef CONFIG_RING_BUFFER_ALLOW_SWAP |
2882 | seq_printf(m, "# echo 1 > snapshot : Allocates snapshot buffer, if not already allocated.\n"); | 2882 | seq_puts(m, "# echo 1 > snapshot : Allocates snapshot buffer, if not already allocated.\n"); |
2883 | seq_printf(m, "# Takes a snapshot of the main buffer for this cpu.\n"); | 2883 | seq_puts(m, "# Takes a snapshot of the main buffer for this cpu.\n"); |
2884 | #else | 2884 | #else |
2885 | seq_printf(m, "# echo 1 > snapshot : Not supported with this kernel.\n"); | 2885 | seq_puts(m, "# echo 1 > snapshot : Not supported with this kernel.\n"); |
2886 | seq_printf(m, "# Must use main snapshot file to allocate.\n"); | 2886 | seq_puts(m, "# Must use main snapshot file to allocate.\n"); |
2887 | #endif | 2887 | #endif |
2888 | seq_printf(m, "# echo 2 > snapshot : Clears this cpu's snapshot buffer (but does not allocate)\n"); | 2888 | seq_puts(m, "# echo 2 > snapshot : Clears this cpu's snapshot buffer (but does not allocate)\n"); |
2889 | seq_printf(m, "# (Doesn't have to be '2' works with any number that\n"); | 2889 | seq_puts(m, "# (Doesn't have to be '2' works with any number that\n"); |
2890 | seq_printf(m, "# is not a '0' or '1')\n"); | 2890 | seq_puts(m, "# is not a '0' or '1')\n"); |
2891 | } | 2891 | } |
2892 | 2892 | ||
2893 | static void print_snapshot_help(struct seq_file *m, struct trace_iterator *iter) | 2893 | static void print_snapshot_help(struct seq_file *m, struct trace_iterator *iter) |
2894 | { | 2894 | { |
2895 | if (iter->tr->allocated_snapshot) | 2895 | if (iter->tr->allocated_snapshot) |
2896 | seq_printf(m, "#\n# * Snapshot is allocated *\n#\n"); | 2896 | seq_puts(m, "#\n# * Snapshot is allocated *\n#\n"); |
2897 | else | 2897 | else |
2898 | seq_printf(m, "#\n# * Snapshot is freed *\n#\n"); | 2898 | seq_puts(m, "#\n# * Snapshot is freed *\n#\n"); |
2899 | 2899 | ||
2900 | seq_printf(m, "# Snapshot commands:\n"); | 2900 | seq_puts(m, "# Snapshot commands:\n"); |
2901 | if (iter->cpu_file == RING_BUFFER_ALL_CPUS) | 2901 | if (iter->cpu_file == RING_BUFFER_ALL_CPUS) |
2902 | show_snapshot_main_help(m); | 2902 | show_snapshot_main_help(m); |
2903 | else | 2903 | else |
@@ -3251,7 +3251,7 @@ static int t_show(struct seq_file *m, void *v) | |||
3251 | if (!t) | 3251 | if (!t) |
3252 | return 0; | 3252 | return 0; |
3253 | 3253 | ||
3254 | seq_printf(m, "%s", t->name); | 3254 | seq_puts(m, t->name); |
3255 | if (t->next) | 3255 | if (t->next) |
3256 | seq_putc(m, ' '); | 3256 | seq_putc(m, ' '); |
3257 | else | 3257 | else |
@@ -5753,10 +5753,10 @@ ftrace_snapshot_print(struct seq_file *m, unsigned long ip, | |||
5753 | 5753 | ||
5754 | seq_printf(m, "%ps:", (void *)ip); | 5754 | seq_printf(m, "%ps:", (void *)ip); |
5755 | 5755 | ||
5756 | seq_printf(m, "snapshot"); | 5756 | seq_puts(m, "snapshot"); |
5757 | 5757 | ||
5758 | if (count == -1) | 5758 | if (count == -1) |
5759 | seq_printf(m, ":unlimited\n"); | 5759 | seq_puts(m, ":unlimited\n"); |
5760 | else | 5760 | else |
5761 | seq_printf(m, ":count=%ld\n", count); | 5761 | seq_printf(m, ":count=%ld\n", count); |
5762 | 5762 | ||
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c index 697fb9bac8f0..126c622e4f42 100644 --- a/kernel/trace/trace_branch.c +++ b/kernel/trace/trace_branch.c | |||
@@ -233,12 +233,12 @@ extern unsigned long __stop_annotated_branch_profile[]; | |||
233 | 233 | ||
234 | static int annotated_branch_stat_headers(struct seq_file *m) | 234 | static int annotated_branch_stat_headers(struct seq_file *m) |
235 | { | 235 | { |
236 | seq_printf(m, " correct incorrect %% "); | 236 | seq_puts(m, " correct incorrect % "); |
237 | seq_printf(m, " Function " | 237 | seq_puts(m, " Function " |
238 | " File Line\n" | 238 | " File Line\n" |
239 | " ------- --------- - " | 239 | " ------- --------- - " |
240 | " -------- " | 240 | " -------- " |
241 | " ---- ----\n"); | 241 | " ---- ----\n"); |
242 | return 0; | 242 | return 0; |
243 | } | 243 | } |
244 | 244 | ||
@@ -274,7 +274,7 @@ static int branch_stat_show(struct seq_file *m, void *v) | |||
274 | 274 | ||
275 | seq_printf(m, "%8lu %8lu ", p->correct, p->incorrect); | 275 | seq_printf(m, "%8lu %8lu ", p->correct, p->incorrect); |
276 | if (percent < 0) | 276 | if (percent < 0) |
277 | seq_printf(m, " X "); | 277 | seq_puts(m, " X "); |
278 | else | 278 | else |
279 | seq_printf(m, "%3ld ", percent); | 279 | seq_printf(m, "%3ld ", percent); |
280 | seq_printf(m, "%-30.30s %-20.20s %d\n", p->func, f, p->line); | 280 | seq_printf(m, "%-30.30s %-20.20s %d\n", p->func, f, p->line); |
@@ -362,12 +362,12 @@ extern unsigned long __stop_branch_profile[]; | |||
362 | 362 | ||
363 | static int all_branch_stat_headers(struct seq_file *m) | 363 | static int all_branch_stat_headers(struct seq_file *m) |
364 | { | 364 | { |
365 | seq_printf(m, " miss hit %% "); | 365 | seq_puts(m, " miss hit % "); |
366 | seq_printf(m, " Function " | 366 | seq_puts(m, " Function " |
367 | " File Line\n" | 367 | " File Line\n" |
368 | " ------- --------- - " | 368 | " ------- --------- - " |
369 | " -------- " | 369 | " -------- " |
370 | " ---- ----\n"); | 370 | " ---- ----\n"); |
371 | return 0; | 371 | return 0; |
372 | } | 372 | } |
373 | 373 | ||
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 0cc51edde3a8..f9d0cbe014b7 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -918,7 +918,7 @@ static int f_show(struct seq_file *m, void *v) | |||
918 | case FORMAT_HEADER: | 918 | case FORMAT_HEADER: |
919 | seq_printf(m, "name: %s\n", ftrace_event_name(call)); | 919 | seq_printf(m, "name: %s\n", ftrace_event_name(call)); |
920 | seq_printf(m, "ID: %d\n", call->event.type); | 920 | seq_printf(m, "ID: %d\n", call->event.type); |
921 | seq_printf(m, "format:\n"); | 921 | seq_puts(m, "format:\n"); |
922 | return 0; | 922 | return 0; |
923 | 923 | ||
924 | case FORMAT_FIELD_SEPERATOR: | 924 | case FORMAT_FIELD_SEPERATOR: |
@@ -1988,7 +1988,7 @@ event_enable_print(struct seq_file *m, unsigned long ip, | |||
1988 | ftrace_event_name(data->file->event_call)); | 1988 | ftrace_event_name(data->file->event_call)); |
1989 | 1989 | ||
1990 | if (data->count == -1) | 1990 | if (data->count == -1) |
1991 | seq_printf(m, ":unlimited\n"); | 1991 | seq_puts(m, ":unlimited\n"); |
1992 | else | 1992 | else |
1993 | seq_printf(m, ":count=%ld\n", data->count); | 1993 | seq_printf(m, ":count=%ld\n", data->count); |
1994 | 1994 | ||
diff --git a/kernel/trace/trace_events_trigger.c b/kernel/trace/trace_events_trigger.c index 4747b476a030..3d89ffc66740 100644 --- a/kernel/trace/trace_events_trigger.c +++ b/kernel/trace/trace_events_trigger.c | |||
@@ -373,7 +373,7 @@ event_trigger_print(const char *name, struct seq_file *m, | |||
373 | { | 373 | { |
374 | long count = (long)data; | 374 | long count = (long)data; |
375 | 375 | ||
376 | seq_printf(m, "%s", name); | 376 | seq_puts(m, name); |
377 | 377 | ||
378 | if (count == -1) | 378 | if (count == -1) |
379 | seq_puts(m, ":unlimited"); | 379 | seq_puts(m, ":unlimited"); |
diff --git a/kernel/trace/trace_functions.c b/kernel/trace/trace_functions.c index 57f0ec962d2c..a8e0c7666164 100644 --- a/kernel/trace/trace_functions.c +++ b/kernel/trace/trace_functions.c | |||
@@ -361,7 +361,7 @@ ftrace_probe_print(const char *name, struct seq_file *m, | |||
361 | seq_printf(m, "%ps:%s", (void *)ip, name); | 361 | seq_printf(m, "%ps:%s", (void *)ip, name); |
362 | 362 | ||
363 | if (count == -1) | 363 | if (count == -1) |
364 | seq_printf(m, ":unlimited\n"); | 364 | seq_puts(m, ":unlimited\n"); |
365 | else | 365 | else |
366 | seq_printf(m, ":count=%ld\n", count); | 366 | seq_printf(m, ":count=%ld\n", count); |
367 | 367 | ||
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c index f0a0c982cde3..29ba611e6f57 100644 --- a/kernel/trace/trace_functions_graph.c +++ b/kernel/trace/trace_functions_graph.c | |||
@@ -1407,32 +1407,32 @@ static void __print_graph_headers_flags(struct seq_file *s, u32 flags) | |||
1407 | print_lat_header(s, flags); | 1407 | print_lat_header(s, flags); |
1408 | 1408 | ||
1409 | /* 1st line */ | 1409 | /* 1st line */ |
1410 | seq_printf(s, "#"); | 1410 | seq_puts(s, "#"); |
1411 | if (flags & TRACE_GRAPH_PRINT_ABS_TIME) | 1411 | if (flags & TRACE_GRAPH_PRINT_ABS_TIME) |
1412 | seq_printf(s, " TIME "); | 1412 | seq_puts(s, " TIME "); |
1413 | if (flags & TRACE_GRAPH_PRINT_CPU) | 1413 | if (flags & TRACE_GRAPH_PRINT_CPU) |
1414 | seq_printf(s, " CPU"); | 1414 | seq_puts(s, " CPU"); |
1415 | if (flags & TRACE_GRAPH_PRINT_PROC) | 1415 | if (flags & TRACE_GRAPH_PRINT_PROC) |
1416 | seq_printf(s, " TASK/PID "); | 1416 | seq_puts(s, " TASK/PID "); |
1417 | if (lat) | 1417 | if (lat) |
1418 | seq_printf(s, "||||"); | 1418 | seq_puts(s, "||||"); |
1419 | if (flags & TRACE_GRAPH_PRINT_DURATION) | 1419 | if (flags & TRACE_GRAPH_PRINT_DURATION) |
1420 | seq_printf(s, " DURATION "); | 1420 | seq_puts(s, " DURATION "); |
1421 | seq_printf(s, " FUNCTION CALLS\n"); | 1421 | seq_puts(s, " FUNCTION CALLS\n"); |
1422 | 1422 | ||
1423 | /* 2nd line */ | 1423 | /* 2nd line */ |
1424 | seq_printf(s, "#"); | 1424 | seq_puts(s, "#"); |
1425 | if (flags & TRACE_GRAPH_PRINT_ABS_TIME) | 1425 | if (flags & TRACE_GRAPH_PRINT_ABS_TIME) |
1426 | seq_printf(s, " | "); | 1426 | seq_puts(s, " | "); |
1427 | if (flags & TRACE_GRAPH_PRINT_CPU) | 1427 | if (flags & TRACE_GRAPH_PRINT_CPU) |
1428 | seq_printf(s, " | "); | 1428 | seq_puts(s, " | "); |
1429 | if (flags & TRACE_GRAPH_PRINT_PROC) | 1429 | if (flags & TRACE_GRAPH_PRINT_PROC) |
1430 | seq_printf(s, " | | "); | 1430 | seq_puts(s, " | | "); |
1431 | if (lat) | 1431 | if (lat) |
1432 | seq_printf(s, "||||"); | 1432 | seq_puts(s, "||||"); |
1433 | if (flags & TRACE_GRAPH_PRINT_DURATION) | 1433 | if (flags & TRACE_GRAPH_PRINT_DURATION) |
1434 | seq_printf(s, " | | "); | 1434 | seq_puts(s, " | | "); |
1435 | seq_printf(s, " | | | |\n"); | 1435 | seq_puts(s, " | | | |\n"); |
1436 | } | 1436 | } |
1437 | 1437 | ||
1438 | static void print_graph_headers(struct seq_file *s) | 1438 | static void print_graph_headers(struct seq_file *s) |
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 282f6e4e5539..240d27ddf82e 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c | |||
@@ -826,7 +826,7 @@ static int probes_seq_show(struct seq_file *m, void *v) | |||
826 | struct trace_kprobe *tk = v; | 826 | struct trace_kprobe *tk = v; |
827 | int i; | 827 | int i; |
828 | 828 | ||
829 | seq_printf(m, "%c", trace_kprobe_is_return(tk) ? 'r' : 'p'); | 829 | seq_putc(m, trace_kprobe_is_return(tk) ? 'r' : 'p'); |
830 | seq_printf(m, ":%s/%s", tk->tp.call.class->system, | 830 | seq_printf(m, ":%s/%s", tk->tp.call.class->system, |
831 | ftrace_event_name(&tk->tp.call)); | 831 | ftrace_event_name(&tk->tp.call)); |
832 | 832 | ||
@@ -840,7 +840,7 @@ static int probes_seq_show(struct seq_file *m, void *v) | |||
840 | 840 | ||
841 | for (i = 0; i < tk->tp.nr_args; i++) | 841 | for (i = 0; i < tk->tp.nr_args; i++) |
842 | seq_printf(m, " %s=%s", tk->tp.args[i].name, tk->tp.args[i].comm); | 842 | seq_printf(m, " %s=%s", tk->tp.args[i].name, tk->tp.args[i].comm); |
843 | seq_printf(m, "\n"); | 843 | seq_putc(m, '\n'); |
844 | 844 | ||
845 | return 0; | 845 | return 0; |
846 | } | 846 | } |
diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c index 33ff6a24b802..d22117beedd0 100644 --- a/kernel/trace/trace_uprobe.c +++ b/kernel/trace/trace_uprobe.c | |||
@@ -606,7 +606,7 @@ static int probes_seq_show(struct seq_file *m, void *v) | |||
606 | for (i = 0; i < tu->tp.nr_args; i++) | 606 | for (i = 0; i < tu->tp.nr_args; i++) |
607 | seq_printf(m, " %s=%s", tu->tp.args[i].name, tu->tp.args[i].comm); | 607 | seq_printf(m, " %s=%s", tu->tp.args[i].name, tu->tp.args[i].comm); |
608 | 608 | ||
609 | seq_printf(m, "\n"); | 609 | seq_putc(m, '\n'); |
610 | return 0; | 610 | return 0; |
611 | } | 611 | } |
612 | 612 | ||