]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Find the proc info under machine->root_dir.
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Fri, 20 Dec 2013 20:52:57 +0000 (15:52 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Dec 2013 19:49:49 +0000 (16:49 -0300)
commit01d228edb9e19dd995a68b71c8a3012d682cee92
treeb7f00fda7bb4155f3f2c5177cac13017d2d5143b
parent435ea6dfa6677b5cb33c8911a3777c0bad8719f7
perf tools: Find the proc info under machine->root_dir.

When we synthesize the threads, we are looking for the infomation under
/proc. But it is only for host.

This patch look for the path of proc under machine->root_dir, then
XXX__synthesize_threads() functions can support guest machines.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Link: http://lkml.kernel.org/r/927b937da9177a079abafe4532fa9c9b60b5c4b7.1387572416.git.yangds.fnst@cn.fujitsu.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.c