Re: [PATCH v6 8/8] perf cs-etm: Set sample flags for exception return packet

2019-01-23 Thread Leo Yan
Hi Mathieu, On Wed, Jan 23, 2019 at 02:51:14PM -0700, Mathieu Poirier wrote: > On Sat, Jan 19, 2019 at 09:43:47AM +0800, Leo Yan wrote: > > When return from exception, we need to distinguish if it's system call > > return or for other type exceptions for setting sample flags. Due to > > the excep

Re: [PATCH v6 8/8] perf cs-etm: Set sample flags for exception return packet

2019-01-23 Thread Mathieu Poirier
On Sat, Jan 19, 2019 at 09:43:47AM +0800, Leo Yan wrote: > When return from exception, we need to distinguish if it's system call > return or for other type exceptions for setting sample flags. Due to > the exception return packet doesn't contain exception number, so we > cannot decide sample flag

[PATCH v6 8/8] perf cs-etm: Set sample flags for exception return packet

2019-01-18 Thread Leo Yan
When return from exception, we need to distinguish if it's system call return or for other type exceptions for setting sample flags. Due to the exception return packet doesn't contain exception number, so we cannot decide sample flags based on exception number. On the other hand, the exception re