[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1340852306.16702.74.camel@gandalf.stny.rr.com>
Date: Wed, 27 Jun 2012 22:58:26 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Dave Jones <davej@...hat.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: big allocation failure during tracing init.
On Wed, 2012-06-27 at 22:22 -0400, Dave Jones wrote:
> On Wed, Jun 27, 2012 at 08:52:43PM -0400, Steven Rostedt wrote:
> > On Fri, 2012-06-22 at 15:36 -0400, Dave Jones wrote:
> >
> > > I guess the problem is on kernels built with CONFIG_MAXCPUS, struct trace_iterator
> > > can be pretty large due to this embedded in it..
> > >
> > > struct ring_buffer_iter *buffer_iter[NR_CPUS];
> > >
> > > Any thoughts on how to change that to a smaller dynamic data structure,
> > > without adding too much overhead to tracing ? (I'm assuming a linked-list walk
> > > for eg would be excessive?)
> > >
> >
> > Does this patch fix it for you?
>
> I'm not sure what I did to trigger the allocation failure last time,
> but I'll run with this for a while, and see if anything falls out.
You probably need to do some tracing to trigger it. As it requires
opening of the trace files.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists