perf machine: Add kernel_dso() method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 31 Oct 2019 18:22:24 +0000 (15:22 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Nov 2019 11:30:18 +0000 (08:30 -0300)
commit93730f85eb37d9cf592c18dad7e488abed09b461
treedf7f50500f9185340fdbbb5c5deac198d6d9b101
parentb0c76fc4cfd96ae859cc50afe5deb523276f75ae
perf machine: Add kernel_dso() method

To reduce boilerplate in some places.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-9s1bgoxxhlnu037e1nqx0tw3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c