diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-09 04:35:12 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 04:35:12 -0500 |
commit | 44b0635481437140b0e29d6023f05e805d5e7620 (patch) | |
tree | ff31986115075410d0479df307a6b9841976026c /kernel/trace/trace_output.c | |
parent | 4ad476e11f94fd3724c6e272d8220e99cd222b27 (diff) | |
parent | 57794a9d48b63e34acbe63282628c9f029603308 (diff) |
Merge branch 'tip/tracing/core/devel' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace
Conflicts:
kernel/trace/trace_hw_branches.c
Diffstat (limited to 'kernel/trace/trace_output.c')
-rw-r--r-- | kernel/trace/trace_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c index b6e99af79214..9fc815031b09 100644 --- a/kernel/trace/trace_output.c +++ b/kernel/trace/trace_output.c | |||
@@ -333,7 +333,7 @@ int trace_print_context(struct trace_iterator *iter) | |||
333 | unsigned long secs = (unsigned long)t; | 333 | unsigned long secs = (unsigned long)t; |
334 | 334 | ||
335 | return trace_seq_printf(s, "%16s-%-5d [%03d] %5lu.%06lu: ", | 335 | return trace_seq_printf(s, "%16s-%-5d [%03d] %5lu.%06lu: ", |
336 | comm, entry->pid, entry->cpu, secs, usec_rem); | 336 | comm, entry->pid, iter->cpu, secs, usec_rem); |
337 | } | 337 | } |
338 | 338 | ||
339 | int trace_print_lat_context(struct trace_iterator *iter) | 339 | int trace_print_lat_context(struct trace_iterator *iter) |
@@ -356,7 +356,7 @@ int trace_print_lat_context(struct trace_iterator *iter) | |||
356 | char *comm = trace_find_cmdline(entry->pid); | 356 | char *comm = trace_find_cmdline(entry->pid); |
357 | ret = trace_seq_printf(s, "%16s %5d %3d %d %08x %08lx [%08lx]" | 357 | ret = trace_seq_printf(s, "%16s %5d %3d %d %08x %08lx [%08lx]" |
358 | " %ld.%03ldms (+%ld.%03ldms): ", comm, | 358 | " %ld.%03ldms (+%ld.%03ldms): ", comm, |
359 | entry->pid, entry->cpu, entry->flags, | 359 | entry->pid, iter->cpu, entry->flags, |
360 | entry->preempt_count, iter->idx, | 360 | entry->preempt_count, iter->idx, |
361 | ns2usecs(iter->ts), | 361 | ns2usecs(iter->ts), |
362 | abs_usecs / USEC_PER_MSEC, | 362 | abs_usecs / USEC_PER_MSEC, |
@@ -364,7 +364,7 @@ int trace_print_lat_context(struct trace_iterator *iter) | |||
364 | rel_usecs / USEC_PER_MSEC, | 364 | rel_usecs / USEC_PER_MSEC, |
365 | rel_usecs % USEC_PER_MSEC); | 365 | rel_usecs % USEC_PER_MSEC); |
366 | } else { | 366 | } else { |
367 | ret = lat_print_generic(s, entry, entry->cpu); | 367 | ret = lat_print_generic(s, entry, iter->cpu); |
368 | if (ret) | 368 | if (ret) |
369 | ret = lat_print_timestamp(s, abs_usecs, rel_usecs); | 369 | ret = lat_print_timestamp(s, abs_usecs, rel_usecs); |
370 | } | 370 | } |