diff options
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 14c98f6a47bc..c3946a6df34e 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -1478,11 +1478,11 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter) | |||
1478 | total = entries + | 1478 | total = entries + |
1479 | ring_buffer_overruns(iter->tr->buffer); | 1479 | ring_buffer_overruns(iter->tr->buffer); |
1480 | 1480 | ||
1481 | seq_printf(m, "%s latency trace v1.1.5 on %s\n", | 1481 | seq_printf(m, "# %s latency trace v1.1.5 on %s\n", |
1482 | name, UTS_RELEASE); | 1482 | name, UTS_RELEASE); |
1483 | seq_puts(m, "-----------------------------------" | 1483 | seq_puts(m, "# -----------------------------------" |
1484 | "---------------------------------\n"); | 1484 | "---------------------------------\n"); |
1485 | seq_printf(m, " latency: %lu us, #%lu/%lu, CPU#%d |" | 1485 | seq_printf(m, "# latency: %lu us, #%lu/%lu, CPU#%d |" |
1486 | " (M:%s VP:%d, KP:%d, SP:%d HP:%d", | 1486 | " (M:%s VP:%d, KP:%d, SP:%d HP:%d", |
1487 | nsecs_to_usecs(data->saved_latency), | 1487 | nsecs_to_usecs(data->saved_latency), |
1488 | entries, | 1488 | entries, |
@@ -1504,24 +1504,24 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter) | |||
1504 | #else | 1504 | #else |
1505 | seq_puts(m, ")\n"); | 1505 | seq_puts(m, ")\n"); |
1506 | #endif | 1506 | #endif |
1507 | seq_puts(m, " -----------------\n"); | 1507 | seq_puts(m, "# -----------------\n"); |
1508 | seq_printf(m, " | task: %.16s-%d " | 1508 | seq_printf(m, "# | task: %.16s-%d " |
1509 | "(uid:%d nice:%ld policy:%ld rt_prio:%ld)\n", | 1509 | "(uid:%d nice:%ld policy:%ld rt_prio:%ld)\n", |
1510 | data->comm, data->pid, data->uid, data->nice, | 1510 | data->comm, data->pid, data->uid, data->nice, |
1511 | data->policy, data->rt_priority); | 1511 | data->policy, data->rt_priority); |
1512 | seq_puts(m, " -----------------\n"); | 1512 | seq_puts(m, "# -----------------\n"); |
1513 | 1513 | ||
1514 | if (data->critical_start) { | 1514 | if (data->critical_start) { |
1515 | seq_puts(m, " => started at: "); | 1515 | seq_puts(m, "# => started at: "); |
1516 | seq_print_ip_sym(&iter->seq, data->critical_start, sym_flags); | 1516 | seq_print_ip_sym(&iter->seq, data->critical_start, sym_flags); |
1517 | trace_print_seq(m, &iter->seq); | 1517 | trace_print_seq(m, &iter->seq); |
1518 | seq_puts(m, "\n => ended at: "); | 1518 | seq_puts(m, "\n# => ended at: "); |
1519 | seq_print_ip_sym(&iter->seq, data->critical_end, sym_flags); | 1519 | seq_print_ip_sym(&iter->seq, data->critical_end, sym_flags); |
1520 | trace_print_seq(m, &iter->seq); | 1520 | trace_print_seq(m, &iter->seq); |
1521 | seq_puts(m, "\n"); | 1521 | seq_puts(m, "#\n"); |
1522 | } | 1522 | } |
1523 | 1523 | ||
1524 | seq_puts(m, "\n"); | 1524 | seq_puts(m, "#\n"); |
1525 | } | 1525 | } |
1526 | 1526 | ||
1527 | static void test_cpu_buff_start(struct trace_iterator *iter) | 1527 | static void test_cpu_buff_start(struct trace_iterator *iter) |