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>
Showing
- tools/perf/builtin-help.c 1 addition, 1 deletiontools/perf/builtin-help.c
- tools/perf/builtin-kmem.c 1 addition, 1 deletiontools/perf/builtin-kmem.c
- tools/perf/builtin-record.c 1 addition, 0 deletionstools/perf/builtin-record.c
- tools/perf/builtin-report.c 1 addition, 1 deletiontools/perf/builtin-report.c
- tools/perf/builtin-top.c 1 addition, 1 deletiontools/perf/builtin-top.c
- tools/perf/perf.c 1 addition, 1 deletiontools/perf/perf.c
- tools/perf/ui/browser.c 1 addition, 1 deletiontools/perf/ui/browser.c
- tools/perf/ui/browsers/annotate.c 1 addition, 0 deletionstools/perf/ui/browsers/annotate.c
- tools/perf/util/alias.c 1 addition, 0 deletionstools/perf/util/alias.c
- tools/perf/util/cache.h 0 additions, 11 deletionstools/perf/util/cache.h
- tools/perf/util/color.c 1 addition, 0 deletionstools/perf/util/color.c
- tools/perf/util/config.h 11 additions, 0 deletionstools/perf/util/config.h
- tools/perf/util/help-unknown-cmd.c 1 addition, 0 deletionstools/perf/util/help-unknown-cmd.c
- tools/perf/util/intel-pt.c 1 addition, 0 deletionstools/perf/util/intel-pt.c
- tools/perf/util/llvm-utils.c 1 addition, 0 deletionstools/perf/util/llvm-utils.c
Loading
Please register or sign in to comment