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

From: Suzuki K Poulose
Date: Mon Jun 05 2023 - 18:11:34 EST


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@xxxxxxx>


Acked-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>