summaryrefslogtreecommitdiff
path: root/tools/perf/util/util.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 22:15:13 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 18:33:26 +0300
commitbb8c16db43e48f2012c3ae8c7d682f834c5986d9 (patch)
tree0a922455bf4fa3cad1153d08876e32ff9a033477 /tools/perf/util/util.c
parentc5e4027e056c3027f682f0d69fe9fd75083b65f8 (diff)
downloadlinux-bb8c16db43e48f2012c3ae8c7d682f834c5986d9.tar.xz
perf kvm: Make function only used by 'perf kvm' static
No need to have this polluting util.h, it was polluted enough already. Link: http://lkml.kernel.org/n/tip-wfdidqlwbvi5y0s61kv6z2gn@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.c')
-rw-r--r--tools/perf/util/util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/perf/util/util.c b/tools/perf/util/util.c
index e86dba2f791a..eb49330c77d4 100644
--- a/tools/perf/util/util.c
+++ b/tools/perf/util/util.c
@@ -496,20 +496,6 @@ int parse_callchain_record(const char *arg, struct callchain_param *param)
return ret;
}
-const char *get_filename_for_perf_kvm(void)
-{
- const char *filename;
-
- if (perf_host && !perf_guest)
- filename = strdup("perf.data.host");
- else if (!perf_host && perf_guest)
- filename = strdup("perf.data.guest");
- else
- filename = strdup("perf.data.kvm");
-
- return filename;
-}
-
int perf_event_paranoid(void)
{
int value;