Re: [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Fri, 1 May 2009 19:43:50 -0400 (EDT)
On Sat, 2 May 2009, Frederic Weisbecker wrote:
}
@@ -203,7 +203,7 @@ static struct clocksource clocksource_32
* Returns current time from boot in nsecs. It's OK for this to wrap
* around for now, as it's just a relative time stamp.
*/
-unsigned long long sched_clock(void)
+unsigned long long notrace sched_clock(void)
{
unsigned long long ret;
I've looked into all of these functions and they don't seem to call
anything that could be traced. I could have missed something though
but it looks good.
I think the issue is that the tracing clock will call these functions, and
we will waste time recursing into them.
Acked-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Heck I'll add mine too ;-)
Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- From: Frederic Weisbecker
- Re: [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- References:
- [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- From: Tim Bird
- Re: [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- From: Frederic Weisbecker
- [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- Prev by Date: Re: IO Controller per cgroup request descriptors (Re: [PATCH 01/10] Documentation)
- Next by Date: Re: [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- Previous by thread: Re: [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- Next by thread: Re: [PATCH 1/2] ftrace: add notrace to ARM sched_clock routines
- Index(es):
Relevant Pages
|