[PATCH/RFC 13/16] perf top: Protect the seen list using mutex

2015-12-09 Thread Namhyung Kim
When perf didn't find a machine, it records its pid in the seen list. With multi-thread enabled, it shoud be protected using a mutex. Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-top.c

[PATCH/RFC 13/16] perf top: Protect the seen list using mutex

2015-12-09 Thread Namhyung Kim
When perf didn't find a machine, it records its pid in the seen list. With multi-thread enabled, it shoud be protected using a mutex. Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-top.c