Messages in this thread | | | Subject | Re: [PATCH v4 02/12] perf record: introduce thread specific data array | From | "Bayduraev, Alexey V" <> | Date | Fri, 9 Apr 2021 10:06:08 +0300 |
| |
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
| |