Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100438
b: refs/heads/master
c: 57f50be
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent 8fae6d0 commit 033903c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 89b2f97819dd074297bbe3e19eaa4afcc98845ad
refs/heads/master: 57f50be14d57b0dbf88dd019e7bb0ff3a3dc7b81
12 changes: 6 additions & 6 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ static int __init set_nr_entries(char *str)
}
__setup("trace_entries=", set_nr_entries);

unsigned long nsecs_to_usecs(unsigned long nsecs)
{
return nsecs / 1000;
}

enum trace_type {
__TRACE_FIRST_TYPE = 0,

Expand Down Expand Up @@ -733,7 +738,7 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter)
"---------------------------------\n");
seq_printf(m, " latency: %lu us, #%lu/%lu, CPU#%d |"
" (M:%s VP:%d, KP:%d, SP:%d HP:%d",
data->saved_latency,
nsecs_to_usecs(data->saved_latency),
entries,
total,
tr->cpu,
Expand Down Expand Up @@ -771,11 +776,6 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter)
seq_puts(m, "\n");
}

unsigned long nsecs_to_usecs(unsigned long nsecs)
{
return nsecs / 1000;
}

static void notrace
lat_print_generic(struct seq_file *m, struct trace_entry *entry, int cpu)
{
Expand Down

0 comments on commit 033903c

Please sign in to comment.