> > Em Sun, Sep 10, 2017 at 07:23:13PM -0700, kan.li...@intel.com escreveu: > > So I got the first two patches already merged, and made some comments > about the other patches, please check those, >
Thanks for the review Arnaldo. I will take a close look for the comments. For the next version, I only need to include patch 3-10, correct? Thanks, Kan > Thanks, > > - Arnaldo > > > Changes since V1: > > - Patch 1: machine threads and hashtable related renaming (Arnaldo) > > - Patch 6: use a smaller locked section for comm_str__put > > add a locked wrapper for comm_str__findnew (Arnaldo) > > > > Kan Liang (10): > > perf tools: hashtable for machine threads > > perf tools: using scandir to replace readdir > > petf tools: using comm_str to replace comm in hist_entry > > petf tools: introduce a new function to set namespaces id > > perf tools: lock to protect thread list > > perf tools: lock to protect comm_str rb tree > > perf tools: change machine comm_exec type to atomic > > perf top: implement multithreading for perf_event__synthesize_threads > > perf top: add option to set the number of thread for event synthesize > > perf top: switch back to overwrite mode > > > > tools/perf/builtin-kvm.c | 3 +- > > tools/perf/builtin-record.c | 2 +- > > tools/perf/builtin-top.c | 9 +- > > tools/perf/builtin-trace.c | 21 +++-- > > tools/perf/tests/mmap-thread-lookup.c | 2 +- > > tools/perf/ui/browsers/hists.c | 2 +- > > tools/perf/util/comm.c | 18 +++- > > tools/perf/util/event.c | 149 > > +++++++++++++++++++++++++------- > > tools/perf/util/event.h | 14 ++- > > tools/perf/util/evlist.c | 5 +- > > tools/perf/util/hist.c | 11 +-- > > tools/perf/util/machine.c | 158 > > +++++++++++++++++++++------------- > > tools/perf/util/machine.h | 34 ++++++-- > > tools/perf/util/rb_resort.h | 5 +- > > tools/perf/util/sort.c | 8 +- > > tools/perf/util/sort.h | 2 +- > > tools/perf/util/thread.c | 68 ++++++++++++--- > > tools/perf/util/thread.h | 6 +- > > tools/perf/util/top.h | 1 + > > 19 files changed, 376 insertions(+), 142 deletions(-) > > > > -- > > 2.5.5