lkml.org 
[lkml]   [2008]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/1] ftrace: do not update max buffer with no users

On Thu, 13 Nov 2008, Steven Rostedt wrote:

> Right now I'm thinking my other suggestion is the best. Just allocate the
> max_tr.buffer and get rid of the CONFIG. This solution is very small, and
> covers all corner cases.

And for 29, we can change the code so that the max_tr buffer is only
allocated by request of a tracer at plugin time. In which we can do tests
if the max_tr.buffer exists in the use cases, and warn if it does not (a
plugin needs to request a max_tr buffer before using update_max_tr).

-- Steve



\
 
 \ /
  Last update: 2008-11-13 15:01    [W:0.077 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site