login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
2
Re: [patch] enhance initcall_debug, measure latency
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Ingo Molnar <mingo@...>
Cc: <linux-kernel@...>
Subject:
Re: [patch] enhance initcall_debug, measure latency
Date: Monday, April 2, 2007 - 1:50 am
On Sun, 1 Apr 2007 20:16:14 +0200 Ingo Molnar <mingo@elte.hu> wrote:
quoted text
> + if (initcall_debug) { > + t1 = ktime_get(); > + delta = ktime_sub(t1, t0); > + > + printk("initcall 0x%p", *call); > + print_fn_descriptor_symbol(": %s()", > + (unsigned long) *call); > + printk(" returned %d.\n", result); > + > + printk("initcall 0x%p ran for %Ld msecs: ", > + *call, delta.tv64 >> 20); > + print_fn_descriptor_symbol("%s()\n", > + (unsigned long) *call); > + }
This might come out a bit better if it were to use -mm's sprint_symbol(). -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch] enhance initcall_debug, measure latency
, Ingo Molnar
, (Sun Apr 1, 2:16 pm)
Re: [patch] enhance initcall_debug, measure latency
, Andrew Morton
, (Mon Apr 2, 1:50 am)
Re: [patch] enhance initcall_debug, measure latency
, Ingo Molnar
, (Sun Apr 1, 2:28 pm)
Re: [patch] enhance initcall_debug, measure latency
, Andi Kleen
, (Mon Apr 2, 4:00 am)
Re: [patch] enhance initcall_debug, measure latency
, Ingo Molnar
, (Mon Apr 2, 3:09 am)
Re: [patch] enhance initcall_debug, measure latency
, Andi Kleen
, (Mon Apr 2, 3:22 am)
Re: [patch] enhance initcall_debug, measure latency
, Ingo Molnar
, (Mon Apr 2, 2:04 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
jjohansen
[AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Andrew Morton
2.6.23-rc6-mm1
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
625 guests
online.
Online users
ivy1234
Syndicate