Messages in this thread | | | Subject | Re: [PATCH v2 12/15] perf record: introduce thread local variable for trace streaming | From | Alexey Budankov <> | Date | Tue, 27 Oct 2020 17:16:43 +0300 |
| |
On 27.10.2020 15:01, Jiri Olsa wrote: > On Mon, Oct 26, 2020 at 05:11:30PM +0300, Alexei Budankov wrote: <SNIP> >> Why do you complain about per thread variable in this case? >> It looks like ideally fits these specific needs. > > I think there's misunderstanding.. I think we should move > samples to per thread 'thread' object and have just one > copy of that.. and do not increase separate variables for > thread and non-thread cases
Aw, I see. Using the same __thread object by main thread in serial and threaded modes. That makes sense. I will correct in v3.
Alexei
| |