Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 42) sorted by relevance

12

/tools/perf/arch/
Dcommon.c123 const char *normalize_arch(char *arch) in normalize_arch() argument
125 if (!strcmp(arch, "x86_64")) in normalize_arch()
127 if (arch[0] == 'i' && arch[2] == '8' && arch[3] == '6') in normalize_arch()
129 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) in normalize_arch()
131 if (!strcmp(arch, "aarch64") || !strcmp(arch, "arm64")) in normalize_arch()
133 if (!strncmp(arch, "arm", 3) || !strcmp(arch, "sa110")) in normalize_arch()
135 if (!strncmp(arch, "s390", 4)) in normalize_arch()
137 if (!strncmp(arch, "parisc", 6)) in normalize_arch()
139 if (!strncmp(arch, "powerpc", 7) || !strncmp(arch, "ppc", 3)) in normalize_arch()
141 if (!strncmp(arch, "mips", 4)) in normalize_arch()
[all …]
Dcommon.h9 const char *normalize_arch(char *arch);
/tools/objtool/
DMakefile2 include ../scripts/Makefile.arch
27 INCLUDES := -I$(srctree)/tools/include -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi
47 diff -I'^#include' arch/x86/insn/insn.c ../../arch/x86/lib/insn.c >/dev/null && \
48 diff -I'^#include' arch/x86/insn/inat.c ../../arch/x86/lib/inat.c >/dev/null && \
49 diff arch/x86/insn/x86-opcode-map.txt ../../arch/x86/lib/x86-opcode-map.txt >/dev/null && \
50 diff arch/x86/insn/gen-insn-attr-x86.awk ../../arch/x86/tools/gen-insn-attr-x86.awk >/dev/null && \
51 diff -I'^#include' arch/x86/insn/insn.h ../../arch/x86/include/asm/insn.h >/dev/null && \
52 diff -I'^#include' arch/x86/insn/inat.h ../../arch/x86/include/asm/inat.h >/dev/null && \
53 diff -I'^#include' arch/x86/insn/inat_types.h ../../arch/x86/include/asm/inat_types.h >/dev/null) \
64 $(Q)$(RM) $(OUTPUT)arch/x86/insn/inat-tables.c $(OUTPUT)fixdep
D.gitignore1 arch/x86/insn/inat-tables.c
DBuild1 objtool-y += arch/$(SRCARCH)/
/tools/perf/
DMANIFEST2 tools/arch/alpha/include/asm/barrier.h
3 tools/arch/arm/include/asm/barrier.h
4 tools/arch/arm64/include/asm/barrier.h
5 tools/arch/ia64/include/asm/barrier.h
6 tools/arch/mips/include/asm/barrier.h
7 tools/arch/powerpc/include/asm/barrier.h
8 tools/arch/s390/include/asm/barrier.h
9 tools/arch/sh/include/asm/barrier.h
10 tools/arch/sparc/include/asm/barrier.h
11 tools/arch/sparc/include/asm/barrier_32.h
[all …]
DMakefile.perf194 include $(srctree)/tools/scripts/Makefile.arch
195 -include arch/$(SRCARCH)/Makefile
374 @(test -f ../../arch/x86/include/asm/disabled-features.h && ( \
375 …(diff -B ../arch/x86/include/asm/disabled-features.h ../../arch/x86/include/asm/disabled-features.…
377 @(test -f ../../arch/x86/include/asm/required-features.h && ( \
378 …(diff -B ../arch/x86/include/asm/required-features.h ../../arch/x86/include/asm/required-features.…
380 @(test -f ../../arch/x86/include/asm/cpufeatures.h && ( \
381 …(diff -B ../arch/x86/include/asm/cpufeatures.h ../../arch/x86/include/asm/cpufeatures.h >/dev/null…
383 @(test -f ../../arch/x86/lib/memcpy_64.S && ( \
384 (diff -B ../arch/x86/lib/memcpy_64.S ../../arch/x86/lib/memcpy_64.S >/dev/null) \
[all …]
D.gitignore33 arch/*/include/generated/
/tools/objtool/arch/x86/
DBuild3 inat_tables_script = arch/x86/insn/gen-insn-attr-x86.awk
4 inat_tables_maps = arch/x86/insn/x86-opcode-map.txt
6 $(OUTPUT)arch/x86/insn/inat-tables.c: $(inat_tables_script) $(inat_tables_maps)
10 $(OUTPUT)arch/x86/decode.o: $(OUTPUT)arch/x86/insn/inat-tables.c
12 CFLAGS_decode.o += -I$(OUTPUT)arch/x86/insn
/tools/perf/util/
Dunwind-libunwind.c20 const char *arch; in unwind__prepare_access() local
34 if (!thread->mg->machine->env || !thread->mg->machine->env->arch) in unwind__prepare_access()
41 arch = normalize_arch(thread->mg->machine->env->arch); in unwind__prepare_access()
43 if (!strcmp(arch, "x86")) { in unwind__prepare_access()
46 } else if (!strcmp(arch, "arm64") || !strcmp(arch, "arm")) { in unwind__prepare_access()
52 pr_err("unwind: target platform=%s is not supported\n", arch); in unwind__prepare_access()
Denv.h33 char *arch; member
/tools/perf/arch/x86/
DMakefile12 out := $(OUTPUT)arch/x86/include/generated/asm
14 sys := $(srctree)/tools/perf/arch/x86/entry/syscalls
22 …(diff -B arch/x86/entry/syscalls/syscall_64.tbl ../../arch/x86/entry/syscalls/syscall_64.tbl >/dev…
/tools/perf/arch/x86/entry/syscalls/
Dsyscalltbl.sh4 arch="$2"
20 echo "static const char *syscalltbl_${arch}[] = {"
39 echo "#define SYSCALLTBL_${arch}_MAX_ID ${max_nr}"
/tools/perf/util/intel-pt-decoder/
DBuild15 diff -B -I'^#include' util/intel-pt-decoder/insn.c ../../arch/x86/lib/insn.c >/dev/null && \
16 diff -B -I'^#include' util/intel-pt-decoder/inat.c ../../arch/x86/lib/inat.c >/dev/null && \
17 …diff -B util/intel-pt-decoder/x86-opcode-map.txt ../../arch/x86/lib/x86-opcode-map.txt >/dev/null …
18 …diff -B util/intel-pt-decoder/gen-insn-attr-x86.awk ../../arch/x86/tools/gen-insn-attr-x86.awk >/d…
19 …diff -B -I'^#include' util/intel-pt-decoder/insn.h ../../arch/x86/include/asm/insn.h >/dev/null &&…
20 …diff -B -I'^#include' util/intel-pt-decoder/inat.h ../../arch/x86/include/asm/inat.h >/dev/null &&…
21 …diff -B -I'^#include' util/intel-pt-decoder/inat_types.h ../../arch/x86/include/asm/inat_types.h >…
/tools/perf/pmu-events/
DBuild5 JDIR = pmu-events/arch/$(SRCARCH)
9 # Locate/process JSON files in pmu-events/arch/
13 $(Q)$(call echo-cmd,gen)$(JEVENTS) $(SRCARCH) pmu-events/arch $(OUTPUT)pmu-events/pmu-events.c $(V)
DREADME9 tree tools/perf/pmu-events/arch/foo.
28 $ ls tools/perf/pmu-events/arch/x86/Silvermont_core
88 In case of errors when processing files in the tools/perf/pmu-events/arch
120 CPUID is an arch-specific char string, that can be used
141 $ grep Silvermont tools/perf/pmu-events/arch/x86/mapfile.csv
147 in the directory 'tools/perf/pmu-events/arch/x86/Silvermont_core'.
/tools/perf/arch/powerpc/tests/
DBuild4 libperf-y += arch-tests.o
/tools/perf/tests/attr/
Dtest-record-graph-dwarf9 # TODO different for each arch, no support for that now
/tools/perf/Documentation/
Dandroid.txt16 export NDK_SYSROOT=${NDK}/platforms/android-24/arch-arm
19 export NDK_SYSROOT=${NDK}/platforms/android-24/arch-x86
37 export NDK_SYSROOT=${ANDROID_BUILD_TOP}/ndk/build/platforms/android-3/arch-arm
40 export NDK_SYSROOT=${ANDROID_BUILD_TOP}/ndk/build/platforms/android-3/arch-x86
/tools/perf/arch/x86/tests/
DBuild4 libperf-y += arch-tests.o
/tools/build/tests/ex/
DBuild11 libex-y += arch/
/tools/build/feature/
Dtest-bpf.c12 # error __NR_bpf not defined. libbpf does not support your arch.
/tools/build/Documentation/
DBuild.txt55 /arch/e.c
56 /arch/f.c
75 libex-y += arch/
77 ex/arch/Build:
/tools/testing/ktest/examples/include/
Ddefaults.conf63 BUILD_TARGET = arch/x86/boot/bzImage
/tools/testing/ktest/examples/
Dsnowball.conf53 BUILD_TARGET = arch/arm/boot/uImage

12