Re: [PATCH RFC V2 01/10] perf tools: hashtable for machine threads

2017-09-13 Thread Arnaldo Carvalho de Melo
Em Sun, Sep 10, 2017 at 07:23:14PM -0700, kan.li...@intel.com escreveu: > From: Kan Liang > > To process any events, it needs to find the thread in the machine first. > The machine maintains a rb tree to store all threads. The rb tree is > protected by a rw lock. > It is not a problem for current

[PATCH RFC V2 01/10] perf tools: hashtable for machine threads

2017-09-10 Thread kan . liang
From: Kan Liang To process any events, it needs to find the thread in the machine first. The machine maintains a rb tree to store all threads. The rb tree is protected by a rw lock. It is not a problem for current perf which serially processing events. However, it will have scalability performanc