diff options
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
-rw-r--r-- | kernel/trace/trace_functions_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c index 8968bf720c12..ca98445782ac 100644 --- a/kernel/trace/trace_functions_graph.c +++ b/kernel/trace/trace_functions_graph.c | |||
@@ -715,13 +715,13 @@ trace_print_graph_duration(unsigned long long duration, struct trace_seq *s) | |||
715 | 715 | ||
716 | snprintf(nsecs_str, slen, "%03lu", nsecs_rem); | 716 | snprintf(nsecs_str, slen, "%03lu", nsecs_rem); |
717 | trace_seq_printf(s, ".%s", nsecs_str); | 717 | trace_seq_printf(s, ".%s", nsecs_str); |
718 | len += strlen(nsecs_str); | 718 | len += strlen(nsecs_str) + 1; |
719 | } | 719 | } |
720 | 720 | ||
721 | trace_seq_puts(s, " us "); | 721 | trace_seq_puts(s, " us "); |
722 | 722 | ||
723 | /* Print remaining spaces to fit the row's width */ | 723 | /* Print remaining spaces to fit the row's width */ |
724 | for (i = len; i < 7; i++) | 724 | for (i = len; i < 8; i++) |
725 | trace_seq_putc(s, ' '); | 725 | trace_seq_putc(s, ' '); |
726 | } | 726 | } |
727 | 727 | ||