Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Remove util.h from where it is not needed

Check that it is not needed and remove, fixing up some fallout for
places where it was only serving to get something else.

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-9h6dg6lsqe2usyqjh5rrues4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+47 -73
+1 -1
tools/perf/arch/arm/util/cs-etm.c
··· 25 25 #include "../../util/evsel.h" 26 26 #include "../../util/pmu.h" 27 27 #include "../../util/cs-etm.h" 28 - #include "../../util/util.h" 28 + #include "../../util/util.h" // page_size 29 29 #include "../../util/session.h" 30 30 31 31 #include <errno.h>
+1 -1
tools/perf/arch/arm64/util/arm-spe.c
··· 16 16 #include "../../util/evsel.h" 17 17 #include "../../util/evlist.h" 18 18 #include "../../util/session.h" 19 - #include "../../util/util.h" 19 + #include "../../util/util.h" // page_size 20 20 #include "../../util/pmu.h" 21 21 #include "../../util/debug.h" 22 22 #include "../../util/auxtrace.h"
-1
tools/perf/arch/arm64/util/dwarf-regs.c
··· 11 11 #include <dwarf-regs.h> 12 12 #include <linux/ptrace.h> /* for struct user_pt_regs */ 13 13 #include <linux/stringify.h> 14 - #include "util.h" 15 14 16 15 struct pt_regs_dwarfnum { 17 16 const char *name;
-1
tools/perf/arch/powerpc/util/dwarf-regs.c
··· 12 12 #include <linux/ptrace.h> 13 13 #include <linux/kernel.h> 14 14 #include <linux/stringify.h> 15 - #include "util.h" 16 15 17 16 struct pt_regs_dwarfnum { 18 17 const char *name;
-1
tools/perf/arch/powerpc/util/header.c
··· 6 6 #include <string.h> 7 7 #include <linux/stringify.h> 8 8 #include "header.h" 9 - #include "util.h" 10 9 11 10 #define mfspr(rn) ({unsigned long rval; \ 12 11 asm volatile("mfspr %0," __stringify(rn) \
+1 -1
tools/perf/arch/s390/util/machine.c
··· 2 2 #include <unistd.h> 3 3 #include <stdio.h> 4 4 #include <string.h> 5 - #include "util.h" 5 + #include "util.h" // page_size 6 6 #include "machine.h" 7 7 #include "api/fs/fs.h" 8 8 #include "debug.h"
-1
tools/perf/arch/x86/tests/intel-cqm.c
··· 5 5 #include "evlist.h" 6 6 #include "evsel.h" 7 7 #include "arch-tests.h" 8 - #include "util.h" 9 8 10 9 #include <signal.h> 11 10 #include <sys/mman.h>
+1 -1
tools/perf/arch/x86/tests/rdpmc.c
··· 13 13 #include "tests/tests.h" 14 14 #include "cloexec.h" 15 15 #include "event.h" 16 - #include "util.h" 16 + #include "util.h" // page_size 17 17 #include "arch-tests.h" 18 18 19 19 static u64 rdpmc(unsigned int counter)
+1 -1
tools/perf/arch/x86/util/intel-bts.c
··· 22 22 #include "../../util/tsc.h" 23 23 #include "../../util/auxtrace.h" 24 24 #include "../../util/intel-bts.h" 25 - #include "../../util/util.h" 25 + #include "../../util/util.h" // page_size 26 26 27 27 #define KiB(x) ((x) * 1024) 28 28 #define MiB(x) ((x) * 1024 * 1024)
+1 -1
tools/perf/arch/x86/util/intel-pt.c
··· 26 26 #include "../../util/record.h" 27 27 #include "../../util/target.h" 28 28 #include "../../util/tsc.h" 29 - #include "../../util/util.h" 29 + #include "../../util/util.h" // page_size 30 30 #include "../../util/intel-pt.h" 31 31 32 32 #define KiB(x) ((x) * 1024)
+1 -1
tools/perf/arch/x86/util/machine.c
··· 3 3 #include <linux/string.h> 4 4 #include <stdlib.h> 5 5 6 - #include "../../util/util.h" 6 + #include "../../util/util.h" // page_size 7 7 #include "../../util/machine.h" 8 8 #include "../../util/map.h" 9 9 #include "../../util/symbol.h"
-1
tools/perf/bench/sched-messaging.c
··· 10 10 * 11 11 */ 12 12 13 - #include "../util/util.h" 14 13 #include <subcmd/parse-options.h> 15 14 #include "bench.h" 16 15
-1
tools/perf/bench/sched-pipe.c
··· 9 9 * http://people.redhat.com/mingo/cfs-scheduler/tools/pipe-test-1m.c 10 10 * Ported to perf by Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> 11 11 */ 12 - #include "../util/util.h" 13 12 #include <subcmd/parse-options.h> 14 13 #include "bench.h" 15 14
-1
tools/perf/builtin-config.c
··· 9 9 10 10 #include "util/cache.h" 11 11 #include <subcmd/parse-options.h> 12 - #include "util/util.h" 13 12 #include "util/debug.h" 14 13 #include "util/config.h" 15 14 #include <linux/string.h>
-2
tools/perf/builtin-evlist.c
··· 5 5 */ 6 6 #include "builtin.h" 7 7 8 - #include "util/util.h" 9 - 10 8 #include <linux/list.h> 11 9 12 10 #include "perf.h"
+1 -1
tools/perf/builtin-report.c
··· 48 48 #include "util/auxtrace.h" 49 49 #include "util/units.h" 50 50 #include "util/branch.h" 51 - #include "util/util.h" 51 + #include "util/util.h" // perf_tip() 52 52 #include "ui/ui.h" 53 53 #include "ui/progress.h" 54 54
+1 -1
tools/perf/perf.c
··· 20 20 #include "util/bpf-loader.h" 21 21 #include "util/debug.h" 22 22 #include "util/event.h" 23 - #include "util/util.h" 23 + #include "util/util.h" // page_size, usage() 24 24 #include "ui/ui.h" 25 25 #include "perf-sys.h" 26 26 #include <api/fs/fs.h>
-1
tools/perf/tests/clang.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include "tests.h" 3 - #include "util.h" 4 3 #include "c++/clang-c.h" 5 4 #include <linux/kernel.h> 6 5
-1
tools/perf/tests/dso-data.c
··· 10 10 #include <sys/resource.h> 11 11 #include <api/fs/fs.h> 12 12 #include "dso.h" 13 - #include "util.h" 14 13 #include "machine.h" 15 14 #include "symbol.h" 16 15 #include "tests.h"
-1
tools/perf/tests/event-times.c
··· 9 9 #include "tests.h" 10 10 #include "evlist.h" 11 11 #include "evsel.h" 12 - #include "util.h" 13 12 #include "debug.h" 14 13 #include "parse-events.h" 15 14 #include "thread_map.h"
-1
tools/perf/tests/llvm.c
··· 7 7 #include "llvm.h" 8 8 #include "tests.h" 9 9 #include "debug.h" 10 - #include "util.h" 11 10 12 11 #ifdef HAVE_LIBBPF_SUPPORT 13 12 static int test__bpf_parsing(void *obj_buf, size_t obj_buf_sz)
+1 -1
tools/perf/tests/mmap-thread-lookup.c
··· 14 14 #include "map.h" 15 15 #include "symbol.h" 16 16 #include "thread.h" 17 - #include "util.h" 17 + #include "util.h" // page_size 18 18 19 19 #define THREADS 4 20 20
-1
tools/perf/tests/parse-events.c
··· 6 6 #include "tests.h" 7 7 #include "debug.h" 8 8 #include "pmu.h" 9 - #include "util.h" 10 9 #include <dirent.h> 11 10 #include <errno.h> 12 11 #include <sys/types.h>
-2
tools/perf/tests/parse-no-sample-id-all.c
··· 1 - // SPDX-License-Identifier: GPL-2.0 2 1 #include <linux/kernel.h> 3 2 #include <linux/types.h> 4 3 #include <stddef.h> ··· 7 8 #include "event.h" 8 9 #include "evlist.h" 9 10 #include "header.h" 10 - #include "util.h" 11 11 #include "debug.h" 12 12 13 13 static int process_event(struct evlist **pevlist, union perf_event *event)
-1
tools/perf/tests/perf-hooks.c
··· 4 4 5 5 #include "tests.h" 6 6 #include "debug.h" 7 - #include "util.h" 8 7 #include "perf-hooks.h" 9 8 10 9 static void sigsegv_handler(int sig __maybe_unused)
-1
tools/perf/tests/pmu.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include "parse-events.h" 3 3 #include "pmu.h" 4 - #include "util.h" 5 4 #include "tests.h" 6 5 #include <errno.h> 7 6 #include <stdio.h>
-1
tools/perf/tests/sample-parsing.c
··· 9 9 10 10 #include "map_symbol.h" 11 11 #include "branch.h" 12 - #include "util.h" 13 12 #include "event.h" 14 13 #include "evsel.h" 15 14 #include "debug.h"
-1
tools/perf/tests/topology.c
··· 4 4 #include <stdio.h> 5 5 #include <perf/cpumap.h> 6 6 #include "tests.h" 7 - #include "util.h" 8 7 #include "session.h" 9 8 #include "evlist.h" 10 9 #include "debug.h"
+1 -1
tools/perf/tests/vmlinux-kallsyms.c
··· 7 7 #include "dso.h" 8 8 #include "map.h" 9 9 #include "symbol.h" 10 - #include "util.h" 10 + #include "util.h" // page_size 11 11 #include "tests.h" 12 12 #include "debug.h" 13 13 #include "machine.h"
-1
tools/perf/ui/browser.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - #include "../util/util.h" 3 2 #include "../util/string2.h" 4 3 #include "../util/config.h" 5 4 #include "libslang.h"
-1
tools/perf/ui/browsers/annotate.c
··· 2 2 #include "../browser.h" 3 3 #include "../helpline.h" 4 4 #include "../ui.h" 5 - #include "../util.h" 6 5 #include "../../util/annotate.h" 7 6 #include "../../util/debug.h" 8 7 #include "../../util/dso.h"
-1
tools/perf/ui/browsers/map.c
··· 5 5 #include <stdlib.h> 6 6 #include <string.h> 7 7 #include <linux/bitops.h> 8 - #include "../../util/util.h" 9 8 #include "../../util/debug.h" 10 9 #include "../../util/map.h" 11 10 #include "../../util/dso.h"
+1 -1
tools/perf/ui/browsers/res_sample.c
··· 7 7 #include "config.h" 8 8 #include "time-utils.h" 9 9 #include "../util.h" 10 - #include "../../util/util.h" 10 + #include "../../util/util.h" // perf_exe() 11 11 #include "../../perf.h" 12 12 #include <stdlib.h> 13 13 #include <string.h>
+1 -1
tools/perf/ui/browsers/scripts.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include "../../builtin.h" 3 3 #include "../../perf.h" 4 - #include "../../util/util.h" 4 + #include "../../util/util.h" // perf_exe() 5 5 #include "../util.h" 6 6 #include "../../util/hist.h" 7 7 #include "../../util/debug.h"
-1
tools/perf/ui/gtk/progress.c
··· 3 3 4 4 #include "gtk.h" 5 5 #include "../progress.h" 6 - #include "util.h" 7 6 8 7 static GtkWidget *dialog; 9 8 static GtkWidget *progress;
-1
tools/perf/ui/helpline.c
··· 5 5 6 6 #include "helpline.h" 7 7 #include "ui.h" 8 - #include "../util/util.h" 9 8 10 9 char ui_helpline__current[512]; 11 10
-1
tools/perf/ui/hist.c
··· 8 8 #include "../util/callchain.h" 9 9 #include "../util/debug.h" 10 10 #include "../util/hist.h" 11 - #include "../util/util.h" 12 11 #include "../util/sort.h" 13 12 #include "../util/evsel.h" 14 13 #include "../util/evlist.h"
+1 -1
tools/perf/ui/setup.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include <pthread.h> 3 3 #include <dlfcn.h> 4 + #include <unistd.h> 4 5 5 6 #include <subcmd/pager.h> 6 7 #include "../util/debug.h" 7 8 #include "../util/hist.h" 8 - #include "../util/util.h" 9 9 #include "ui.h" 10 10 11 11 pthread_mutex_t ui__lock = PTHREAD_MUTEX_INITIALIZER;
+1 -1
tools/perf/ui/tui/setup.c
··· 2 2 #include <signal.h> 3 3 #include <stdbool.h> 4 4 #include <stdlib.h> 5 + #include <unistd.h> 5 6 #include <linux/kernel.h> 6 7 #ifdef HAVE_BACKTRACE_SUPPORT 7 8 #include <execinfo.h> 8 9 #endif 9 10 10 11 #include "../../util/debug.h" 11 - #include "../../util/util.h" 12 12 #include "../../perf.h" 13 13 #include "../browser.h" 14 14 #include "../helpline.h"
+1 -1
tools/perf/util/annotate.c
··· 14 14 #include <bpf/btf.h> 15 15 #include <bpf/libbpf.h> 16 16 #include <linux/btf.h> 17 - #include "util.h" 17 + #include "util.h" // hex_width() 18 18 #include "ui/ui.h" 19 19 #include "sort.h" 20 20 #include "build-id.h"
+3 -1
tools/perf/util/auxtrace.c
··· 50 50 #include "intel-bts.h" 51 51 #include "arm-spe.h" 52 52 #include "s390-cpumsf.h" 53 - #include "util.h" 53 + #include "util.h" // page_size 54 54 55 55 #include <linux/ctype.h> 56 + #include <linux/kernel.h> 56 57 #include "symbol/kallsyms.h" 58 + #include <internal/lib.h> 57 59 58 60 static bool auxtrace__dont_decode(struct perf_session *session) 59 61 {
-1
tools/perf/util/branch.c
··· 1 - #include "util/util.h" 2 1 #include "util/map_symbol.h" 3 2 #include "util/branch.h" 4 3 #include <linux/kernel.h>
+8 -1
tools/perf/util/branch.h
··· 1 1 #ifndef _PERF_BRANCH_H 2 2 #define _PERF_BRANCH_H 1 3 - 3 + /* 4 + * The linux/stddef.h isn't need here, but is needed for __always_inline used 5 + * in files included from uapi/linux/perf_event.h such as 6 + * /usr/include/linux/swab.h and /usr/include/linux/byteorder/little_endian.h, 7 + * detected in at least musl libc, used in Alpine Linux. -acme 8 + */ 4 9 #include <stdio.h> 5 10 #include <stdint.h> 11 + #include <linux/compiler.h> 12 + #include <linux/stddef.h> 6 13 #include <linux/perf_event.h> 7 14 #include <linux/types.h> 8 15
+1 -1
tools/perf/util/build-id.c
··· 7 7 * Copyright (C) 2009, 2010 Red Hat Inc. 8 8 * Copyright (C) 2009, 2010 Arnaldo Carvalho de Melo <acme@redhat.com> 9 9 */ 10 - #include "util.h" 10 + #include "util.h" // copyfile_ns(), lsdir(), mkdir_p(), rm_rf() 11 11 #include <dirent.h> 12 12 #include <errno.h> 13 13 #include <stdio.h>
+1 -1
tools/perf/util/cloexec.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include <errno.h> 3 3 #include <sched.h> 4 - #include "util.h" 4 + #include "util.h" // for sched_getcpu() 5 5 #include "../perf-sys.h" 6 6 #include "cloexec.h" 7 7 #include "event.h"
-1
tools/perf/util/cs-etm-decoder/cs-etm-decoder.c
··· 17 17 #include "cs-etm.h" 18 18 #include "cs-etm-decoder.h" 19 19 #include "intlist.h" 20 - #include "util.h" 21 20 22 21 /* use raw logging */ 23 22 #ifdef CS_DEBUG_RAW
-1
tools/perf/util/cs-etm.c
··· 35 35 #include "thread.h" 36 36 #include "thread-stack.h" 37 37 #include <tools/libc_compat.h> 38 - #include "util.h" 39 38 40 39 #define MAX_TIMESTAMP (~0ULL) 41 40
+2 -1
tools/perf/util/data.c
··· 13 13 #include <dirent.h> 14 14 15 15 #include "data.h" 16 - #include "util.h" 16 + #include "util.h" // rm_rf_perf_data() 17 17 #include "debug.h" 18 18 #include "header.h" 19 + #include <internal/lib.h> 19 20 20 21 static void close_dir(struct perf_data_file *files, int nr) 21 22 {
-1
tools/perf/util/debug.c
··· 17 17 #include "event.h" 18 18 #include "debug.h" 19 19 #include "print_binary.h" 20 - #include "util.h" 21 20 #include "target.h" 22 21 #include "ui/helpline.h" 23 22 #include "ui/ui.h"
-1
tools/perf/util/demangle-rust.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include <string.h> 3 - #include "util.h" 4 3 #include "debug.h" 5 4 6 5 #include "demangle-rust.h"
-1
tools/perf/util/dwarf-regs.c
··· 5 5 * Written by: Masami Hiramatsu <mhiramat@kernel.org> 6 6 */ 7 7 8 - #include <util.h> 9 8 #include <debug.h> 10 9 #include <dwarf-regs.h> 11 10 #include <elf.h>
+1 -1
tools/perf/util/evlist.c
··· 16 16 #include "evsel.h" 17 17 #include "debug.h" 18 18 #include "units.h" 19 - #include "util.h" 19 + #include "util.h" // page_size 20 20 #include "../perf.h" 21 21 #include "asm/bug.h" 22 22 #include "bpf-event.h"
+1
tools/perf/util/evsel.c
··· 45 45 #include "../perf-sys.h" 46 46 #include "util/parse-branch-options.h" 47 47 #include <internal/xyarray.h> 48 + #include <internal/lib.h> 48 49 49 50 #include <linux/ctype.h> 50 51
+2 -1
tools/perf/util/header.c
··· 42 42 #include "tool.h" 43 43 #include "time-utils.h" 44 44 #include "units.h" 45 - #include "util.h" 45 + #include "util.h" // page_size, perf_exe() 46 46 #include "cputopo.h" 47 47 #include "bpf-event.h" 48 48 49 49 #include <linux/ctype.h> 50 + #include <internal/lib.h> 50 51 51 52 /* 52 53 * magic2 = "PERFILE2"
-1
tools/perf/util/jitdump.c
··· 15 15 #include <linux/stringify.h> 16 16 17 17 #include "build-id.h" 18 - #include "util.h" 19 18 #include "event.h" 20 19 #include "debug.h" 21 20 #include "evlist.h"
+1
tools/perf/util/llvm-utils.c
··· 8 8 #include <limits.h> 9 9 #include <stdio.h> 10 10 #include <stdlib.h> 11 + #include <unistd.h> 11 12 #include <linux/err.h> 12 13 #include <linux/string.h> 13 14 #include <linux/zalloc.h>
+1 -1
tools/perf/util/lzma.c
··· 7 7 #include <sys/stat.h> 8 8 #include <fcntl.h> 9 9 #include "compress.h" 10 - #include "util.h" 11 10 #include "debug.h" 12 11 #include <string.h> 13 12 #include <unistd.h> 13 + #include <internal/lib.h> 14 14 15 15 #define BUFSIZE 8192 16 16
-1
tools/perf/util/perf-hooks.c
··· 12 12 #include <setjmp.h> 13 13 #include <linux/err.h> 14 14 #include <linux/kernel.h> 15 - #include "util/util.h" 16 15 #include "util/debug.h" 17 16 #include "util/perf-hooks.h" 18 17
-1
tools/perf/util/record.c
··· 10 10 #include <api/fs/fs.h> 11 11 #include <subcmd/parse-options.h> 12 12 #include <perf/cpumap.h> 13 - #include "util.h" 14 13 #include "cloexec.h" 15 14 #include "record.h" 16 15 #include "../perf-sys.h"
+1
tools/perf/util/rwsem.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #include "util.h" 2 3 #include "rwsem.h" 3 4
-1
tools/perf/util/s390-sample-raw.c
··· 22 22 #include <asm/byteorder.h> 23 23 24 24 #include "debug.h" 25 - #include "util.h" 26 25 #include "session.h" 27 26 #include "evlist.h" 28 27 #include "color.h"
-1
tools/perf/util/scripting-engines/trace-event-python.c
··· 37 37 #include "../dso.h" 38 38 #include "../callchain.h" 39 39 #include "../evsel.h" 40 - #include "../util.h" 41 40 #include "../event.h" 42 41 #include "../thread.h" 43 42 #include "../comm.h"
+1
tools/perf/util/session.c
··· 34 34 #include "ui/progress.h" 35 35 #include "../perf.h" 36 36 #include "arch/common.h" 37 + #include <internal/lib.h> 37 38 38 39 #ifdef HAVE_ZSTD_SUPPORT 39 40 static int perf_session__process_compressed_event(struct perf_session *session,
+1 -1
tools/perf/util/srccode.c
··· 15 15 #include <string.h> 16 16 #include "srccode.h" 17 17 #include "debug.h" 18 - #include "util.h" 18 + #include "util.h" // page_size 19 19 20 20 #define MAXSRCCACHE (32*1024*1024) 21 21 #define MAXSRCFILES 64
+2
tools/perf/util/symbol-elf.c
··· 18 18 #include "debug.h" 19 19 #include "util.h" 20 20 #include <linux/ctype.h> 21 + #include <linux/kernel.h> 21 22 #include <linux/zalloc.h> 22 23 #include <symbol/kallsyms.h> 24 + #include <internal/lib.h> 23 25 24 26 #ifndef EM_AARCH64 25 27 #define EM_AARCH64 183 /* ARM 64 bit */
+1 -2
tools/perf/util/symbol-minimal.c
··· 1 - // SPDX-License-Identifier: GPL-2.0 2 1 #include "dso.h" 3 2 #include "symbol.h" 4 3 #include "symsrc.h" 5 - #include "util.h" 6 4 7 5 #include <errno.h> 8 6 #include <unistd.h> ··· 11 13 #include <byteswap.h> 12 14 #include <sys/stat.h> 13 15 #include <linux/zalloc.h> 16 + #include <internal/lib.h> 14 17 15 18 static bool check_need_swap(int file_endian) 16 19 {
+1 -1
tools/perf/util/symbol.c
··· 19 19 #include "build-id.h" 20 20 #include "cap.h" 21 21 #include "dso.h" 22 - #include "util.h" 22 + #include "util.h" // lsdir() 23 23 #include "debug.h" 24 24 #include "event.h" 25 25 #include "machine.h"
-1
tools/perf/util/target.c
··· 6 6 */ 7 7 8 8 #include "target.h" 9 - #include "util.h" 10 9 11 10 #include <pwd.h> 12 11 #include <stdio.h>
+1 -1
tools/perf/util/trace-event-info.c
··· 2 2 /* 3 3 * Copyright (C) 2008,2009, Steven Rostedt <srostedt@redhat.com> 4 4 */ 5 - #include "util.h" 5 + #include "util.h" // page_size 6 6 #include <dirent.h> 7 7 #include <mntent.h> 8 8 #include <stdio.h>
-1
tools/perf/util/trace-event-read.c
··· 15 15 #include <unistd.h> 16 16 #include <errno.h> 17 17 18 - #include "util.h" 19 18 #include "trace-event.h" 20 19 #include "debug.h" 21 20
-1
tools/perf/util/trace-event.c
··· 14 14 #include <api/fs/fs.h> 15 15 #include "trace-event.h" 16 16 #include "machine.h" 17 - #include "util.h" 18 17 19 18 /* 20 19 * global trace_event object used by trace_event__tp_format
-1
tools/perf/util/unwind-libdw.c
··· 17 17 #include "event.h" 18 18 #include "perf_regs.h" 19 19 #include "callchain.h" 20 - #include "util.h" 21 20 22 21 static char *debuginfo_path; 23 22
-1
tools/perf/util/unwind-libunwind-local.c
··· 37 37 #include "unwind.h" 38 38 #include "map.h" 39 39 #include "symbol.h" 40 - #include "util.h" 41 40 #include "debug.h" 42 41 #include "asm/bug.h" 43 42 #include "dso.h"
+1 -1
tools/perf/util/vdso.c
··· 11 11 12 12 #include "vdso.h" 13 13 #include "dso.h" 14 - #include "util.h" 14 + #include <internal/lib.h> 15 15 #include "map.h" 16 16 #include "symbol.h" 17 17 #include "machine.h"
+1 -1
tools/perf/util/zlib.c
··· 7 7 #include <sys/mman.h> 8 8 #include <zlib.h> 9 9 #include <linux/compiler.h> 10 + #include <internal/lib.h> 10 11 11 12 #include "util/compress.h" 12 - #include "util/util.h" 13 13 14 14 #define CHUNK_SIZE 16384 15 15