Hi, On 08.04.2021 17:16, Andi Kleen wrote: >> + } else { >> + thread_data[t].tid = syscall(SYS_gettid); > > That always fills in the tid of the setup thread instead of the target > threads? >
Here we set the tid for 0-thread (for cpu 0), other threads we setup later in record__thread(), see [PATCH v4 05/12]. Regards, Alexey