Re: [PATCH] simple dprobe like markers for the kernel

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Masami Hiramatsu
Date: Monday, July 14, 2008 - 9:26 am

Hi James,

James Bottomley wrote:

I'm very interested in your approach.

IMHO, as Aoki investigated, the overhead of markers is not so big
unless we put a lot of them into kernel. And from "active"
overhead point of view, it takes less than tens of nano-seconds,
while kprobes takes hundreds of nano-seconds. Kprobe also has a
limitation of probable points, it can't probe "__kprobes" marked
functions. So, original markers still has advantages.

However, your approach is also useful, especially for embedding
thousands of markers in kernel or drivers.

So I think it's better to use both of them as the situation demands.

I just have one comment on its name. Since it doesn't trace
anything, so I'd rather like notation() or note_mark() than
trace_simple(). :-)

Thank you,


-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division

e-mail: mhiramat@redhat.com

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] simple dprobe like markers for the kernel, Frank Ch. Eigler, (Wed Jul 9, 7:29 pm)
Re: [RFC] simple dprobe like markers for the kernel, James Bottomley, (Thu Jul 10, 6:49 am)
Re: [RFC] simple dprobe like markers for the kernel, Frank Ch. Eigler, (Thu Jul 10, 7:22 am)
Re: [RFC] simple dprobe like markers for the kernel, James Bottomley, (Thu Jul 10, 7:43 am)
Re: [RFC] simple dprobe like markers for the kernel, Theodore Tso, (Thu Jul 10, 8:30 am)
Re: [RFC] simple dprobe like markers for the kernel, James Bottomley, (Thu Jul 10, 8:57 am)
Re: [RFC] simple dprobe like markers for the kernel, Frank Ch. Eigler, (Thu Jul 10, 11:18 am)
[PATCH] simple dprobe like markers for the kernel, James Bottomley, (Sat Jul 12, 11:22 am)
[PATCH] systemtap: add parser for simple markers, James Bottomley, (Sat Jul 12, 1:04 pm)
Re: [PATCH] systemtap: add parser for simple markers, Frank Ch. Eigler, (Sat Jul 12, 4:06 pm)
Re: [PATCH] simple dprobe like markers for the kernel, Masami Hiramatsu, (Mon Jul 14, 9:26 am)
Re: [PATCH] simple dprobe like markers for the kernel, James Bottomley, (Mon Jul 14, 3:02 pm)