perf tools: Make is_supported_compression() 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-6-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
85e1d419e7
commit
e1e139463d
|
@ -202,7 +202,7 @@ static const struct {
|
||||||
{ NULL, NULL },
|
{ NULL, NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
bool is_supported_compression(const char *ext)
|
static bool is_supported_compression(const char *ext)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
|
|
|
@ -250,7 +250,6 @@ int dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir);
|
||||||
char dso__symtab_origin(const struct dso *dso);
|
char dso__symtab_origin(const struct dso *dso);
|
||||||
int dso__read_binary_type_filename(const struct dso *dso, enum dso_binary_type type,
|
int dso__read_binary_type_filename(const struct dso *dso, enum dso_binary_type type,
|
||||||
char *root_dir, char *filename, size_t size);
|
char *root_dir, char *filename, size_t size);
|
||||||
bool is_supported_compression(const char *ext);
|
|
||||||
bool is_kernel_module(const char *pathname, int cpumode);
|
bool is_kernel_module(const char *pathname, int cpumode);
|
||||||
bool dso__needs_decompress(struct dso *dso);
|
bool dso__needs_decompress(struct dso *dso);
|
||||||
int dso__decompress_kmodule_fd(struct dso *dso, const char *name);
|
int dso__decompress_kmodule_fd(struct dso *dso, const char *name);
|
||||||
|
|
Loading…
Reference in New Issue