mirror of
https://github.com/torvalds/linux
synced 2024-09-20 19:17:24 +00:00
perf debug: No need to include ui/util.h
Nothing from that file is used in util/debug.h, it is only needed in some places that get it indirectly via including util/debug.h, remove that entanglement. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-hn9v4jdova2nt018fqsjyzun@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
8fcbeae44f
commit
b22bb139dc
|
@ -2,6 +2,7 @@
|
||||||
#include "../../builtin.h"
|
#include "../../builtin.h"
|
||||||
#include "../../perf.h"
|
#include "../../perf.h"
|
||||||
#include "../../util/util.h"
|
#include "../../util/util.h"
|
||||||
|
#include "../util.h"
|
||||||
#include "../../util/hist.h"
|
#include "../../util/hist.h"
|
||||||
#include "../../util/debug.h"
|
#include "../../util/debug.h"
|
||||||
#include "../../util/symbol.h"
|
#include "../../util/symbol.h"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
#include "gtk.h"
|
#include "gtk.h"
|
||||||
#include "../../util/debug.h"
|
#include <linux/compiler.h>
|
||||||
|
#include "../util.h"
|
||||||
|
|
||||||
extern struct perf_error_ops perf_gtk_eops;
|
extern struct perf_error_ops perf_gtk_eops;
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
#ifndef __PERF_DEBUG_H
|
#ifndef __PERF_DEBUG_H
|
||||||
#define __PERF_DEBUG_H
|
#define __PERF_DEBUG_H
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <linux/compiler.h>
|
#include <linux/compiler.h>
|
||||||
#include "../ui/util.h"
|
|
||||||
|
|
||||||
extern int verbose;
|
extern int verbose;
|
||||||
extern bool quiet, dump_trace;
|
extern bool quiet, dump_trace;
|
||||||
|
|
Loading…
Reference in a new issue