[PATCH 1/4] perf cs-etm: Only track threads instead of PID and TIDs

Suzuki K Poulose suzuki.poulose at arm.com
Mon Jun 5 15:11:25 PDT 2023


On 24/05/2023 14:19, James Clark wrote:
> PIDs and TIDs are already contained within the thread struct, so to
> avoid inconsistencies drop the extra members on the etm queue and only
> use the thread struct.
> 
> At the same time stop using the 'unknown' thread. In a later commit
> we will be making samples from multiple machines so it will be better
> to use the idle thread of each machine rather than overlapping unknown
> threads. Using the idle thread is also better because kernel addresses
> with a previously unknown thread will now be assigned to a real kernel
> thread.
> 
> Signed-off-by: James Clark <james.clark at arm.com>


Acked-by: Suzuki K Poulose <suzuki.poulose at arm.com>





More information about the linux-arm-kernel mailing list