Re: [PATCH v3 6/6] perf cs-etm: Synchronize instruction sample with the thread stack

2019-10-21 Thread Leo Yan
Hi Mathieu, On Fri, Oct 11, 2019 at 02:17:50PM -0600, Mathieu Poirier wrote: > On Sat, Oct 05, 2019 at 05:16:14PM +0800, Leo Yan wrote: > > The synthesized flow use 'tidq->packet' for instruction samples; on the > > other hand, 'tidp->prev_packet' is used to generate the thread stack and > > the b

Re: [PATCH v3 6/6] perf cs-etm: Synchronize instruction sample with the thread stack

2019-10-14 Thread Leo Yan
On Fri, Oct 11, 2019 at 02:17:50PM -0600, Mathieu Poirier wrote: > On Sat, Oct 05, 2019 at 05:16:14PM +0800, Leo Yan wrote: > > The synthesized flow use 'tidq->packet' for instruction samples; on the > > other hand, 'tidp->prev_packet' is used to generate the thread stack and > > the branch samples

Re: [PATCH v3 6/6] perf cs-etm: Synchronize instruction sample with the thread stack

2019-10-11 Thread Mathieu Poirier
On Sat, Oct 05, 2019 at 05:16:14PM +0800, Leo Yan wrote: > The synthesized flow use 'tidq->packet' for instruction samples; on the > other hand, 'tidp->prev_packet' is used to generate the thread stack and > the branch samples, this results in the instruction samples using one > packet ahead than t

[PATCH v3 6/6] perf cs-etm: Synchronize instruction sample with the thread stack

2019-10-05 Thread Leo Yan
The synthesized flow use 'tidq->packet' for instruction samples; on the other hand, 'tidp->prev_packet' is used to generate the thread stack and the branch samples, this results in the instruction samples using one packet ahead than thread stack and branch samples ('tidp->prev_packet' vs 'tidq->pac