Re: [PATCH 07/18] perf tools: Limit ordered events queue size

2014-06-30 Thread Jiri Olsa
On Fri, Jun 27, 2014 at 05:11:15PM -0600, David Ahern wrote: > On 6/18/14, 8:58 AM, Jiri Olsa wrote: > >@@ -520,7 +522,7 @@ static void queue_event(struct ordered_events_queue *q, > >struct ordered_event *ne > > static struct ordered_event *alloc_event(struct ordered_events_queue *q) > > { > >

Re: [PATCH 07/18] perf tools: Limit ordered events queue size

2014-06-27 Thread David Ahern
On 6/18/14, 8:58 AM, Jiri Olsa wrote: @@ -520,7 +522,7 @@ static void queue_event(struct ordered_events_queue *q, struct ordered_event *ne static struct ordered_event *alloc_event(struct ordered_events_queue *q) { struct list_head *cache = &q->cache; - struct ordered_event *new

[PATCH 07/18] perf tools: Limit ordered events queue size

2014-06-18 Thread Jiri Olsa
Add limit to the ordered events queue allocation. This way we will be able to control the size of the queue buffers. There's no limit at the moment (it's set to (u64) -1). The config code will come in following patches. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederi