Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116683
b: refs/heads/master
c: ca538f6
h: refs/heads/master
i:
  116681: 9476944
  116679: a4c6060
v: v3
  • Loading branch information
Tim Bird authored and Ingo Molnar committed Oct 14, 2008
1 parent bb8a72a commit 3415355
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: ad0a3b68114e8f3c25ac0045b45a2838f23e3b3a
refs/heads/master: ca538f6bbe583406f941f3041d40c41f9a13d1de
4 changes: 2 additions & 2 deletions trunk/include/linux/ftrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ ftrace_init_module(unsigned long *start, unsigned long *end) { }

struct boot_trace {
pid_t caller;
char func[KSYM_NAME_LEN];
char func[KSYM_NAME_LEN];
int result;
unsigned long long duration;
unsigned long long duration; /* usecs */
ktime_t calltime;
ktime_t rettime;
};
Expand Down
4 changes: 2 additions & 2 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,8 @@ int do_one_initcall(initcall_t fn)
if (initcall_debug) {
it.rettime = ktime_get();
delta = ktime_sub(it.rettime, it.calltime);
it.duration = (unsigned long long) delta.tv64 >> 20;
printk("initcall %pF returned %d after %Ld msecs\n", fn,
it.duration = (unsigned long long) delta.tv64 >> 10;
printk("initcall %pF returned %d after %Ld usecs\n", fn,
it.result, it.duration);
trace_boot(&it, fn);
}
Expand Down

0 comments on commit 3415355

Please sign in to comment.