Re: [PATCH 08/14] coresight: tmc: allocating memory when needed

2016-04-08 Thread Mathieu Poirier
On 7 April 2016 at 10:50, Suzuki K Poulose wrote: > On 22/03/16 20:23, Mathieu Poirier wrote: >> >> In it's current form the TMC probe() function allocates >> trace buffer memory at boot time, event if coresight isn't >> used. This is highly inefficient since trace

Re: [PATCH 08/14] coresight: tmc: allocating memory when needed

2016-04-08 Thread Mathieu Poirier
On 7 April 2016 at 10:50, Suzuki K Poulose wrote: > On 22/03/16 20:23, Mathieu Poirier wrote: >> >> In it's current form the TMC probe() function allocates >> trace buffer memory at boot time, event if coresight isn't >> used. This is highly inefficient since trace buffers can >> occupy a lot of

Re: [PATCH 08/14] coresight: tmc: allocating memory when needed

2016-04-07 Thread Suzuki K Poulose
On 22/03/16 20:23, Mathieu Poirier wrote: In it's current form the TMC probe() function allocates trace buffer memory at boot time, event if coresight isn't used. This is highly inefficient since trace buffers can occupy a lot of memory that could be used otherwised. This patch allocates trace

Re: [PATCH 08/14] coresight: tmc: allocating memory when needed

2016-04-07 Thread Suzuki K Poulose
On 22/03/16 20:23, Mathieu Poirier wrote: In it's current form the TMC probe() function allocates trace buffer memory at boot time, event if coresight isn't used. This is highly inefficient since trace buffers can occupy a lot of memory that could be used otherwised. This patch allocates trace

[PATCH 08/14] coresight: tmc: allocating memory when needed

2016-03-22 Thread Mathieu Poirier
In it's current form the TMC probe() function allocates trace buffer memory at boot time, event if coresight isn't used. This is highly inefficient since trace buffers can occupy a lot of memory that could be used otherwised. This patch allocates trace buffers on the fly, when the coresight

[PATCH 08/14] coresight: tmc: allocating memory when needed

2016-03-22 Thread Mathieu Poirier
In it's current form the TMC probe() function allocates trace buffer memory at boot time, event if coresight isn't used. This is highly inefficient since trace buffers can occupy a lot of memory that could be used otherwised. This patch allocates trace buffers on the fly, when the coresight