Re: [PATCH] markers: remove 2 exported symbols

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mathieu Desnoyers
Date: Tuesday, October 7, 2008 - 8:53 pm

* Lai Jiangshan (laijs@cn.fujitsu.com) wrote:

marker_probe_cb_noarg() does not need to setup the variable arguments,
because the format string explicitly contains the MARK_NOARGS string. So
this is a performance optimization.


It becomes hellish when we want to pass it as parameter to another C
function, because va_list is typedef'd as an array on some
architectures, and the array gets propoted to a pointer type, which is
in turn incompatible with the array. C language mess :-( Not much we can
do about it.

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:
[PATCH] markers: remove 2 exported symbols, Lai Jiangshan, (Tue Oct 7, 7:23 pm)
Re: [PATCH] markers: remove 2 exported symbols, Mathieu Desnoyers, (Tue Oct 7, 7:43 pm)
Re: [PATCH] markers: remove 2 exported symbols, Lai Jiangshan, (Tue Oct 7, 8:05 pm)
Re: [PATCH] markers: remove 2 exported symbols, Mathieu Desnoyers, (Tue Oct 7, 8:53 pm)
Re: [PATCH] markers: remove 2 exported symbols, Lai Jiangshan, (Wed Oct 8, 7:19 pm)
Re: [PATCH] markers: remove 2 exported symbols, Mathieu Desnoyers, (Thu Oct 9, 7:27 am)
Re: [PATCH] markers: remove 2 exported symbols, Lai Jiangshan, (Fri Oct 10, 1:02 am)