summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-kvm.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2020-11-30 18:56:52 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-11-30 18:56:52 +0100
commit7748bb7175ccad5ee29e7355134b0061d8edf3d2 (patch)
tree0caa9296cf495cadb7800173cf6b598982ad4df7 /tools/perf/builtin-kvm.c
parentperf evlist: Use the right prefix for 'struct evlist' print methods (diff)
downloadlinux-7748bb7175ccad5ee29e7355134b0061d8edf3d2.tar.xz
linux-7748bb7175ccad5ee29e7355134b0061d8edf3d2.zip
perf evlist: Use the right prefix for 'struct evlist' create maps methods
perf_evlist__ is for 'struct perf_evlist' methods, in tools/lib/perf/, go on completing this split. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-kvm.c')
-rw-r--r--tools/perf/builtin-kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c
index e1b60aad13cb..7560d6b1d6a3 100644
--- a/tools/perf/builtin-kvm.c
+++ b/tools/perf/builtin-kvm.c
@@ -1442,7 +1442,7 @@ static int kvm_events_live(struct perf_kvm_stat *kvm,
goto out;
}
- if (perf_evlist__create_maps(kvm->evlist, &kvm->opts.target) < 0)
+ if (evlist__create_maps(kvm->evlist, &kvm->opts.target) < 0)
usage_with_options(live_usage, live_options);
/*