diff options
author | Jiri Olsa <jolsa@kernel.org> | 2021-01-02 23:04:24 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-01-20 18:34:20 +0100 |
commit | b2946282c02b4d4deb0f3b47db8131e9afbef624 (patch) | |
tree | e4738630a7a343fb446aafa0a05df9d51b9f5c1d /tools/perf/util/config.h | |
parent | perf config: Add perf_home_perfconfig function (diff) | |
download | linux-b2946282c02b4d4deb0f3b47db8131e9afbef624.tar.xz linux-b2946282c02b4d4deb0f3b47db8131e9afbef624.zip |
perf config: Make perf_config_system() global
Make perf_config_system global, it will be used outside the config.c
object in the following patches.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexei Budankov <abudankov@huawei.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20210102220441.794923-6-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/config.h')
-rw-r--r-- | tools/perf/util/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/config.h b/tools/perf/util/config.h index d6c4f80f367c..bf68e4acea73 100644 --- a/tools/perf/util/config.h +++ b/tools/perf/util/config.h @@ -38,6 +38,7 @@ int perf_config_bool(const char *, const char *); int config_error_nonbool(const char *); const char *perf_etc_perfconfig(void); const char *perf_home_perfconfig(void); +int perf_config_system(void); struct perf_config_set *perf_config_set__new(void); struct perf_config_set *perf_config_set__load_file(const char *file); |