Re: Kernel marker has no performance impact on ia64.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Frank Ch. Eigler
Date: Thursday, June 12, 2008 - 9:43 am

Hi -

On Thu, Jun 12, 2008 at 12:16:35PM -0400, Masami Hiramatsu wrote:

That's an interesting idea, but errors in this table would themselves
only be caught at C compilation time.  Worse, it does nothing helpful
for actually pulling out the next/prev fields of interest.  Remember,
real tracing users don't care so much about the task_struct pointers,
but about observable things like PIDs.  Systemtap would be back to the
debuginfo or C-header-guessing/parsing job (or embedded-C, yuck).

This is another reason why markers are a nice solution.  They allow
passing of actual useful values: not just the %p pointers but the most
interesting derived values (e.g., prev->pid).  And they do this
*efficiently* - in out-of-line code that imposes no measurable
overhead in the normal case..


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