Re: Kernel marker has no performance impact on ia64.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <peterz@...>
Cc: Hideo AOKI <haoki@...>, <mingo@...>, Masami Hiramatsu <mhiramat@...>, <linux-kernel@...>
Date: Monday, June 2, 2008 - 7:21 pm

* Peter Zijlstra (peterz@infradead.org) wrote:

Maybe we could settle for an intermediate solution : I agree with you
that defining the trace points in headers, like you did for the
scheduler, makes the code much cleaner and makes things much easier to
maintain afterward. However, having the trace_mark mechanism underneath
helps a lot in plugging a generic tracer (actually, if we can settle the
marker issue, I've got a kernel tracer, LTTng, that I've been waiting
for quite a while to push to mainline that I would like to post someday).

So I would be in favor of requiring tracing statements to be described
in static inline functions, in header files, that could preferably call
trace_mark() and optionally also call other in-kernel tracers directly.

Ideally, we could re-use the immediate values infrastructure to control
activation of these trace points with minimal impact on the system.

One of my goal is to provide a mechanism that can feed both non-debug
and debug information to a generic tracing mechanism to allow
system-wide analysis of the kernel, both for production system and
kernel debugging.

Mathieu

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Kernel marker has no performance impact on ia64., Hideo AOKI, (Mon Jun 2, 6:12 pm)
Re: Kernel marker has no performance impact on ia64., Peter Zijlstra, (Mon Jun 2, 6:32 pm)
Re: Kernel marker has no performance impact on ia64., Mathieu Desnoyers, (Mon Jun 2, 7:21 pm)
Re: Kernel marker has no performance impact on ia64., Peter Zijlstra, (Wed Jun 4, 6:27 pm)
Re: Kernel marker has no performance impact on ia64., Mathieu Desnoyers, (Wed Jun 4, 7:22 pm)
Re: Kernel marker has no performance impact on ia64., Peter Zijlstra, (Thu Jun 5, 4:12 am)
Re: Kernel marker has no performance impact on ia64., Mathieu Desnoyers, (Thu Jun 12, 9:53 am)
Re: Kernel marker has no performance impact on ia64., Peter Zijlstra, (Thu Jun 12, 10:27 am)
Re: Kernel marker has no performance impact on ia64., Frank Ch. Eigler, (Thu Jun 12, 11:53 am)
Re: Kernel marker has no performance impact on ia64., Peter Zijlstra, (Thu Jun 12, 12:53 pm)
Re: Kernel marker has no performance impact on ia64., Frank Ch. Eigler, (Thu Jun 12, 1:38 pm)
Re: Kernel marker has no performance impact on ia64., Peter Zijlstra, (Fri Jun 13, 7:01 am)
Re: Kernel marker has no performance impact on ia64., Frank Ch. Eigler, (Fri Jun 13, 10:17 am)
Re: Kernel marker has no performance impact on ia64., Masami Hiramatsu, (Thu Jun 12, 12:16 pm)
Re: Kernel marker has no performance impact on ia64., Frank Ch. Eigler, (Thu Jun 12, 12:43 pm)
Re: Kernel marker has no performance impact on ia64., Masami Hiramatsu, (Thu Jun 12, 1:05 pm)
Re: Kernel marker has no performance impact on ia64., Frank Ch. Eigler, (Thu Jun 12, 1:48 pm)
Re: Kernel marker has no performance impact on ia64., Masami Hiramatsu, (Thu Jun 12, 3:34 pm)
RE: Kernel marker has no performance impact on ia64., Takashi Nishiie, (Fri Jun 13, 12:19 am)
Re: Kernel marker has no performance impact on ia64., Masami Hiramatsu, (Fri Jun 13, 2:02 pm)
RE: Kernel marker has no performance impact on ia64., Takashi Nishiie, (Sun Jun 15, 10:58 pm)
Re: Kernel marker has no performance impact on ia64., Peter Zijlstra, (Thu Jun 12, 12:56 pm)
Re: Kernel marker has no performance impact on ia64., Mathieu Desnoyers, (Thu Jun 12, 6:10 pm)
Re: Kernel marker has no performance impact on ia64., Masami Hiramatsu, (Thu Jun 5, 10:28 am)
Re: Kernel marker has no performance impact on ia64., Mathieu Desnoyers, (Thu Jun 12, 10:04 am)
Re: Kernel marker has no performance impact on ia64., Masami Hiramatsu, (Thu Jun 12, 11:31 am)
Re: Kernel marker has no performance impact on ia64., Masami Hiramatsu, (Wed Jun 4, 12:58 am)
Re: Kernel marker has no performance impact on ia64., Mathieu Desnoyers, (Wed Jun 4, 7:26 pm)
Re: Kernel marker has no performance impact on ia64., Masami Hiramatsu, (Wed Jun 4, 7:40 pm)
RE: Kernel marker has no performance impact on ia64., Takashi Nishiie, (Tue Jun 3, 2:07 am)