Re: [PATCH v1 5/7] perf cs-etm: Fixup PID_FMT when it is zero

2021-01-11 Thread Suzuki K Poulose
On 1/9/21 7:44 AM, Leo Yan wrote: If the metadata item CS_ETM_PID_FMT/CS_ETMV4_PID_FMT is zero, this means the perf data file is recorded with old version tool and the tool has not extended to support the item. For this case, this patch fixes up PID_FMT entry to set the value as BIT(ETM_OPT_CTXT

[PATCH v1 5/7] perf cs-etm: Fixup PID_FMT when it is zero

2021-01-08 Thread Leo Yan
If the metadata item CS_ETM_PID_FMT/CS_ETMV4_PID_FMT is zero, this means the perf data file is recorded with old version tool and the tool has not extended to support the item. For this case, this patch fixes up PID_FMT entry to set the value as BIT(ETM_OPT_CTXTID), this info will be delivered to