perf machine: Add a kallsyms loading constructor
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 5 Jan 2017 18:31:48 +0000 (15:31 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Jan 2017 19:48:00 +0000 (16:48 -0300)
commit7d132caaf9392853ad637c8e6e53333cbeb99aa5
tree82ca4272bb5c7b54e86661a35069d136b56aaf06
parentd5f805c09620dadc1a7806fbd46189d183f6c395
perf machine: Add a kallsyms loading constructor

To reduce the boilerplate for searching for functions in the running
kernel and modules.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-93iqzayafpaxaguoiwjqezgz@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c
tools/perf/util/machine.h