Messages in this thread |  | | | Date | Mon, 20 Oct 2008 15:30:03 +0200 | | From | Ingo Molnar <> | | Subject | Re: [PATCH tip/tracing/markers] markers: simplify marker_set_format() |
| |
* Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:
> * Lai Jiangshan (laijs@cn.fujitsu.com) wrote: > > > > current marker_set_format() is complex this patch simplify it, > > and decrease the overhead of marker_update_probes(). > > > > Yep, I think I did put the format string after the name \0, which was > rather tricky. I agree that such change makes the code more readable at > the expense of doing 2 allocations per marker rather than one, but > readability might be a good thing here. > > Thanks ! > > Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
applied to tip/tracing/markers, thanks!
Ingo
|  |