diff options
author | Jiri Olsa <jolsa@kernel.org> | 2018-08-17 11:48:04 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-08-20 13:54:59 +0200 |
commit | 85e1d419e71eaa39248a9fa6572502a3c802f9ca (patch) | |
tree | cdca2c5b3bf1bed1fbf07d1186767dc491d56d45 /tools/perf/util/dso.c | |
parent | perf tools: Get rid of dso__needs_decompress() call in __open_dso() (diff) | |
download | linux-85e1d419e71eaa39248a9fa6572502a3c802f9ca.tar.xz linux-85e1d419e71eaa39248a9fa6572502a3c802f9ca.zip |
perf tools: Make decompress_to_file() function static
There's no outside user of it.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180817094813.15086-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/dso.c')
-rw-r--r-- | tools/perf/util/dso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index 8ee1faa5726f..9f4b72d8f50f 100644 --- a/tools/perf/util/dso.c +++ b/tools/perf/util/dso.c @@ -239,7 +239,7 @@ bool is_kernel_module(const char *pathname, int cpumode) return m.kmod; } -bool decompress_to_file(const char *ext, const char *filename, int output_fd) +static bool decompress_to_file(const char *ext, const char *filename, int output_fd) { unsigned i; |