Re: [PATCH v2 7/7] Documentation: coresight: Add PID tracing description

2021-02-04 Thread Leo Yan
On Thu, Feb 04, 2021 at 12:14:12PM +, Mike Leach wrote: [...] > > >>> +To support tracing PID for the kernel runs at different exception > > >>> levels, > > >>> +the PMU formats are defined as follow: > > >>> + > > >>> + "contextid1": Available on both EL1 kernel and EL2 kernel. When the >

Re: [PATCH v2 7/7] Documentation: coresight: Add PID tracing description

2021-02-04 Thread Mike Leach
Hi, On Thu, 4 Feb 2021 at 11:08, Suzuki K Poulose wrote: > > On 2/4/21 4:09 AM, Leo Yan wrote: > > Hi Mike, > > > > On Wed, Feb 03, 2021 at 05:39:54PM +, Mike Leach wrote: > > > > [...] > > > >>> +2.2) Tracing PID > >>> + > >>> +When the kernel is running at EL2 with Virtualization Host Exten

Re: [PATCH v2 7/7] Documentation: coresight: Add PID tracing description

2021-02-04 Thread Suzuki K Poulose
On 2/4/21 4:09 AM, Leo Yan wrote: Hi Mike, On Wed, Feb 03, 2021 at 05:39:54PM +, Mike Leach wrote: [...] +2.2) Tracing PID + +When the kernel is running at EL2 with Virtualization Host Extensions (VHE), +perf records CONTEXTIDR_EL2 in the trace data and can be used as PID when +decoding;

Re: [PATCH v2 7/7] Documentation: coresight: Add PID tracing description

2021-02-03 Thread Leo Yan
Hi Mike, On Wed, Feb 03, 2021 at 05:39:54PM +, Mike Leach wrote: [...] > > +2.2) Tracing PID > > + > > +When the kernel is running at EL2 with Virtualization Host Extensions > > (VHE), > > +perf records CONTEXTIDR_EL2 in the trace data and can be used as PID when > > +decoding; and if the k

Re: [PATCH v2 7/7] Documentation: coresight: Add PID tracing description

2021-02-03 Thread Leo Yan
On Tue, Feb 02, 2021 at 11:24:48PM +, Suzuki Kuruppassery Poulose wrote: > On 2/2/21 4:38 PM, Leo Yan wrote: > > After support the PID tracing for the kernel in EL1 or EL2, the usage > > gets more complicated. > > > > This patch gives description for the PMU formats of contextID configs, > > t

Re: [PATCH v2 7/7] Documentation: coresight: Add PID tracing description

2021-02-03 Thread Mike Leach
Hi, On Tue, 2 Feb 2021 at 16:39, Leo Yan wrote: > > After support the PID tracing for the kernel in EL1 or EL2, the usage > gets more complicated. > > This patch gives description for the PMU formats of contextID configs, > this can help users to understand how to control the knobs for PID > trac

Re: [PATCH v2 7/7] Documentation: coresight: Add PID tracing description

2021-02-02 Thread Suzuki K Poulose
On 2/2/21 4:38 PM, Leo Yan wrote: After support the PID tracing for the kernel in EL1 or EL2, the usage gets more complicated. This patch gives description for the PMU formats of contextID configs, this can help users to understand how to control the knobs for PID tracing when the kernel is in d

[PATCH v2 7/7] Documentation: coresight: Add PID tracing description

2021-02-02 Thread Leo Yan
After support the PID tracing for the kernel in EL1 or EL2, the usage gets more complicated. This patch gives description for the PMU formats of contextID configs, this can help users to understand how to control the knobs for PID tracing when the kernel is in different ELs. Signed-off-by: Leo Ya