lkml.org 
[lkml]   [2021]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 02/12] perf record: introduce thread specific data array
From
Date
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

\
 
 \ /
  Last update: 2021-04-09 09:07    [W:0.049 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site