aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
authorKan Liang <kan.liang@intel.com>2017-09-29 07:47:53 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-10-03 09:27:36 -0300
commitf988e71bc6220d8b404dbd43c0e0962e30305795 (patch)
tree4f554e04a5480e14b7342934339a995d42af23dc /tools/perf/util/event.h
parentperf tools: Lock to protect namespaces and comm list (diff)
downloadlinux-dev-f988e71bc6220d8b404dbd43c0e0962e30305795.tar.xz
linux-dev-f988e71bc6220d8b404dbd43c0e0962e30305795.zip
perf tools: Lock to protect comm_str rb tree
Add comm_str_lock to protect comm_str rb tree. The lock is only needed for multithreaded code, so using mutex wrappers provided by perf tool. Signed-off-by: Kan Liang <kan.liang@intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: He Kuang <hekuang@huawei.com> Cc: Lukasz Odzioba <lukasz.odzioba@intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1506696477-146932-3-git-send-email-kan.liang@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.h')
0 files changed, 0 insertions, 0 deletions