]> git.baikalelectronics.ru Git - kernel.git/commit
perf thread_map: Add method to map all threads in the system
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 1 Dec 2017 14:44:30 +0000 (11:44 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Dec 2017 13:24:32 +0000 (10:24 -0300)
commit8e5262bf1c4b65a0e7eca3bbdd1d6b6e73fc76a5
tree9998d115faf80cc0cd0c29e7a6dd3bc31cba7d34
parent9352ec08e6f70a24d01e72b9b83c0d8c18db2943
perf thread_map: Add method to map all threads in the system

Reusing the thread_map__new_by_uid() proc scanning already in place to
return a map with all threads in the system.

Based-on-a-patch-by: Jin Yao <yao.jin@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/n/tip-khh28q0wwqbqtrk32bfe07hd@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread_map.c
tools/perf/util/thread_map.h