Re: [PATCH v6 5/8] perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata

2019-01-23 Thread Leo Yan
On Wed, Jan 23, 2019 at 02:13:00PM -0700, Mathieu Poirier wrote: > On Sat, Jan 19, 2019 at 09:43:44AM +0800, Leo Yan wrote: > > If packet processing wants to know the packet is bound with which ETM > > version, it needs to access metadata to decide that based on metadata > > magic number; but we ca

Re: [PATCH v6 5/8] perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata

2019-01-23 Thread Mathieu Poirier
On Sat, Jan 19, 2019 at 09:43:44AM +0800, Leo Yan wrote: > If packet processing wants to know the packet is bound with which ETM > version, it needs to access metadata to decide that based on metadata > magic number; but we cannot simply to use CPU logic ID number as index > to access metadata sequ

[PATCH v6 5/8] perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata

2019-01-18 Thread Leo Yan
If packet processing wants to know the packet is bound with which ETM version, it needs to access metadata to decide that based on metadata magic number; but we cannot simply to use CPU logic ID number as index to access metadata sequential array, especially when system have hotplugged off CPUs, th