Re: [PATCH v1 2/7] perf cs_etm: Use pid tracing explicitly instead of contextid

2021-01-18 Thread Leo Yan
Hi Mathieu, On Fri, Jan 15, 2021 at 03:44:16PM -0700, Mathieu Poirier wrote: > On Sat, Jan 09, 2021 at 03:44:30PM +0800, Leo Yan wrote: > > From: Suzuki K Poulose > > > > If the kernel is running at EL2, the pid of the task is exposed > > via VMID instead of the CONTEXTID. Add support for this i

Re: [PATCH v1 2/7] perf cs_etm: Use pid tracing explicitly instead of contextid

2021-01-15 Thread Mathieu Poirier
On Sat, Jan 09, 2021 at 03:44:30PM +0800, Leo Yan wrote: > From: Suzuki K Poulose > > If the kernel is running at EL2, the pid of the task is exposed > via VMID instead of the CONTEXTID. Add support for this in the > perf tool. > > By default the perf tool requests contextid and timestamp for >

[PATCH v1 2/7] perf cs_etm: Use pid tracing explicitly instead of contextid

2021-01-08 Thread Leo Yan
From: Suzuki K Poulose If the kernel is running at EL2, the pid of the task is exposed via VMID instead of the CONTEXTID. Add support for this in the perf tool. By default the perf tool requests contextid and timestamp for task bound events. Instead of hard coding contextid, switch to "pid" conf