diff options
author | Taeung Song | 2016-06-23 10:55:17 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2016-06-23 13:51:41 +0200 |
commit | 41840d211c518e6af6e327b03e09323824e563bf (patch) | |
tree | 095d4a688e27031a6df219d86eb3d70713566261 /tools/perf/builtin-top.c | |
parent | perf tools: Let python use correct gcc for build_ext (diff) | |
download | kernel-qcow2-linux-41840d211c518e6af6e327b03e09323824e563bf.tar.gz kernel-qcow2-linux-41840d211c518e6af6e327b03e09323824e563bf.tar.xz kernel-qcow2-linux-41840d211c518e6af6e327b03e09323824e563bf.zip |
perf config: Move config declarations from util/cache.h to util/config.h
Lately util/config.h has been added but util/cache.h has declarations of
functions and a global variable for config features.
To manage codes about configuration at one spot, move them to
util/config.h and let source files that need config features include
config.h And if the source files that included previous cache.h need
only config.h, remove including cache.h.
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1466672119-4852-2-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 81dba80a42b5..ec4cba61f3a2 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -22,7 +22,7 @@ #include "perf.h" #include "util/annotate.h" -#include "util/cache.h" +#include "util/config.h" #include "util/color.h" #include "util/evlist.h" #include "util/evsel.h" |