Re: [PATCH V7 02/24] coresight: associating path with session rather than tracer

2016-01-05 Thread Rabin Vincent
On Mon, Jan 04, 2016 at 11:24:14AM -0700, Mathieu Poirier wrote: > On 20 December 2015 at 08:29, Rabin Vincent wrote: > > This patch introduces a use-after-free/double kfree() if the sink is > > disabled after the source. > > > > With this command sequence: > > > > # echo 1 > /sys/bus/coresight/de

Re: [PATCH V7 02/24] coresight: associating path with session rather than tracer

2016-01-04 Thread Mathieu Poirier
On 20 December 2015 at 08:29, Rabin Vincent wrote: > On Fri, Dec 18, 2015 at 01:58:58PM -0700, Mathieu Poirier wrote: >> When using the Coresight framework from the sysFS interface a >> tracer is always handling a single session and as such, a path >> can be associated with a tracer. But when sup

Re: [PATCH V7 02/24] coresight: associating path with session rather than tracer

2015-12-23 Thread Mathieu Poirier
On 20 December 2015 at 08:29, Rabin Vincent wrote: > On Fri, Dec 18, 2015 at 01:58:58PM -0700, Mathieu Poirier wrote: >> When using the Coresight framework from the sysFS interface a >> tracer is always handling a single session and as such, a path >> can be associated with a tracer. But when sup

Re: [PATCH V7 02/24] coresight: associating path with session rather than tracer

2015-12-20 Thread Rabin Vincent
On Fri, Dec 18, 2015 at 01:58:58PM -0700, Mathieu Poirier wrote: > When using the Coresight framework from the sysFS interface a > tracer is always handling a single session and as such, a path > can be associated with a tracer. But when supporting multiple > session per tracer there is no guarant

[PATCH V7 02/24] coresight: associating path with session rather than tracer

2015-12-18 Thread Mathieu Poirier
When using the Coresight framework from the sysFS interface a tracer is always handling a single session and as such, a path can be associated with a tracer. But when supporting multiple session per tracer there is no guarantee that sessions will always have the same path from source to sink. Thi