Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140888
b: refs/heads/master
c: 888b55d
h: refs/heads/master
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Ingo Molnar committed Mar 8, 2009
1 parent 414d538 commit 52e447d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 42b40b3d55f5782b00b74d9105c3565fbfa5cb80
refs/heads/master: 888b55dc314d26239d84c3b187dae555a81c1605
2 changes: 1 addition & 1 deletion trunk/Documentation/ftrace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ of ftrace. Here is a list of some of the key files:
that is displayed in one of the above output
files.

tracing_max_latency:
trace_max_latency:

Some of the tracers record the max latency.
For example, the time interrupts are disabled.
Expand Down
20 changes: 10 additions & 10 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1466,11 +1466,11 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter)
total = entries +
ring_buffer_overruns(iter->tr->buffer);

seq_printf(m, "%s latency trace v1.1.5 on %s\n",
seq_printf(m, "# %s latency trace v1.1.5 on %s\n",
name, UTS_RELEASE);
seq_puts(m, "-----------------------------------"
seq_puts(m, "# -----------------------------------"
"---------------------------------\n");
seq_printf(m, " latency: %lu us, #%lu/%lu, CPU#%d |"
seq_printf(m, "# latency: %lu us, #%lu/%lu, CPU#%d |"
" (M:%s VP:%d, KP:%d, SP:%d HP:%d",
nsecs_to_usecs(data->saved_latency),
entries,
Expand All @@ -1492,24 +1492,24 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter)
#else
seq_puts(m, ")\n");
#endif
seq_puts(m, " -----------------\n");
seq_printf(m, " | task: %.16s-%d "
seq_puts(m, "# -----------------\n");
seq_printf(m, "# | task: %.16s-%d "
"(uid:%d nice:%ld policy:%ld rt_prio:%ld)\n",
data->comm, data->pid, data->uid, data->nice,
data->policy, data->rt_priority);
seq_puts(m, " -----------------\n");
seq_puts(m, "# -----------------\n");

if (data->critical_start) {
seq_puts(m, " => started at: ");
seq_puts(m, "# => started at: ");
seq_print_ip_sym(&iter->seq, data->critical_start, sym_flags);
trace_print_seq(m, &iter->seq);
seq_puts(m, "\n => ended at: ");
seq_puts(m, "\n# => ended at: ");
seq_print_ip_sym(&iter->seq, data->critical_end, sym_flags);
trace_print_seq(m, &iter->seq);
seq_puts(m, "\n");
seq_puts(m, "#\n");
}

seq_puts(m, "\n");
seq_puts(m, "#\n");
}

static void test_cpu_buff_start(struct trace_iterator *iter)
Expand Down

0 comments on commit 52e447d

Please sign in to comment.