ARM: 6540/1: Stop irqsoff trace on return to user
authorTodd Android Poynor <toddpoynor@google.com>
Thu, 23 Dec 2010 00:52:44 +0000 (01:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Dec 2010 09:37:59 +0000 (09:37 +0000)
commitd13e5edd7284bedcf5952e1b6490e39ad843cb91
tree3fd22e4592bfe8ba175d231c706a9816ecaa594b
parent875728807ff001b67a1e0535de5ad2cd3c41d47c
ARM: 6540/1: Stop irqsoff trace on return to user

If the irqsoff tracer is in use, stop tracing the interrupt disable
interval when returning to userspace.  Tracing userspace execution time
as interrupts disabled time is not helpful for kernel performance
analysis purposes.  Only do so if the irqsoff tracer is enabled, to
avoid overhead for lockdep, which doesn't care.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-common.S