| /tools/perf/Documentation/ |
| A D | perf.data-directory-format.txt | 48 build id event received for vmlinux: 1eaa285996affce2d74d8e66dcea09a80c9941de 55 … perf 15316 2060795.480902: 1 cycles: ffffffffa2caa548 native_write_msr+0x8 (vmlinux) 56 … perf 15316 2060795.480906: 1 cycles: ffffffffa2caa548 native_write_msr+0x8 (vmlinux) 57 … perf 15316 2060795.480908: 7 cycles: ffffffffa2caa548 native_write_msr+0x8 (vmlinux) 58 … perf 15316 2060795.480910: 119 cycles: ffffffffa2caa54a native_write_msr+0xa (vmlinux) 59 …perf 15316 2060795.480912: 2109 cycles: ffffffffa2c9b7b0 native_apic_msr_write+0x0 (vmlinux) 60 …16 2060795.480914: 37606 cycles: ffffffffa2f121fe perf_event_addr_filters_exec+0x2e (vmlinux) 61 …e 15316 2060795.480924: 588287 cycles: ffffffffa303a56d page_counter_try_charge+0x6d (vmlinux) 62 … uname 15316 2060795.481067: 2261945 cycles: ffffffffa301438f kmem_cache_free+0x4f (vmlinux)
|
| A D | perf-inject.txt | 56 --vmlinux=<file>:: 57 vmlinux pathname 59 --ignore-vmlinux:: 60 Ignore vmlinux files.
|
| A D | guest-files.txt | 12 Guest OS kernel vmlinux.
|
| A D | perf-annotate.txt | 55 --vmlinux=<file>:: 56 vmlinux pathname. 58 --ignore-vmlinux:: 59 Ignore vmlinux files.
|
| /tools/bpf/runqslower/ |
| A D | Makefile | 23 VMLINUX_BTF_PATHS := $(if $(O),$(O)/vmlinux) \ 24 $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \ 25 ../../../vmlinux /sys/kernel/btf/vmlinux \ 26 /boot/vmlinux-$(KERNEL_REL) 46 $(Q)$(RM) $(OUTPUT)*.skel.h $(OUTPUT)vmlinux.h 58 $(OUTPUT)/runqslower.bpf.o: $(OUTPUT)/vmlinux.h runqslower.h | libbpf_hdrs 74 $(OUTPUT)/vmlinux.h: $(VMLINUX_BTF_PATH) | $(OUTPUT) $(BPFTOOL)
|
| /tools/sched_ext/ |
| A D | README.md | 76 ## Getting a vmlinux.h file 80 defined in some vmlinux binary that was compiled with 88 $ bpftool btf dump file /path/to/vmlinux format c > vmlinux.h 94 in vmlinux as follows: 97 #include "vmlinux.h" 102 * vmlinux.h provides definitions for struct task_struct and 125 `$KBUILD_OUTPUT/vmlinux` 128 3. `/sys/kernel/btf/vmlinux` 129 4. `/boot/vmlinux-$(uname -r)` 132 file will be used to generate vmlinux.h. Otherwise, it will be the vmlinux of [all …]
|
| A D | Makefile | 76 VMLINUX_BTF_PATHS ?= $(if $(O),$(O)/vmlinux) \ 77 $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \ 78 ../../vmlinux \ 79 /sys/kernel/btf/vmlinux \ 80 /boot/vmlinux-$(shell uname -r) 83 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)") 164 $(INCLUDE_DIR)/vmlinux.h: $(VMLINUX_BTF) $(BPFTOOL) | $(INCLUDE_DIR) 173 $(SCXOBJ_DIR)/%.bpf.o: %.bpf.c $(INCLUDE_DIR)/vmlinux.h include/scx/*.h \ 178 $(INCLUDE_DIR)/%.bpf.skel.h: $(SCXOBJ_DIR)/%.bpf.o $(INCLUDE_DIR)/vmlinux.h $(BPFTOOL)
|
| /tools/testing/selftests/rcutorture/bin/ |
| A D | kvm-find-errors.sh | 39 …elif ! test -f ${scenariobasedir}/vmlinux && ! test -f ${scenariobasedir}/vmlinux.xz && ! test -f … 41 echo No ${scenariobasedir}/vmlinux file > $i.diags
|
| A D | kvm-test-1-run-qemu.sh | 74 if ! test -f $base_resdir/vmlinux 77 if ! test -f $base_resdir/vmlinux
|
| A D | kvm-check-branches.sh | 86 ( cd $resdir/$ds/$idir/$rrd; rm -f */vmlinux */bzImage */System.map */Module.symvers )
|
| A D | torture.sh | 783 echo Compressing vmlinux files in ${i}: `date` >> "$tdir/log-xz" 2>&1 784 for j in $i/*/vmlinux 806 echo Linking vmlinux.xz files to re-use scenarios `date` | tee -a "$tdir/log-xz" | tee -a $T/log 811 find . -name vmlinux -print > $T/xz-todo-copy-vmlinux 812 for v in `cat $T/xz-todo-copy-vmlinux`
|
| /tools/testing/selftests/x86/bugs/ |
| A D | its_ret_alignment.py | 51 vmlinux = f"/usr/lib/debug/lib/modules/{os.uname().release}/vmlinux" variable 52 if not os.path.exists(vmlinux): 58 rethunks_start_vmlinux, rethunks_sec_offset, size = c.get_section_info(vmlinux, '.return_sites') 61 sites_offset = c.get_patch_sites(vmlinux, rethunks_sec_offset, size) 77 with open(vmlinux, 'rb') as f:
|
| A D | its_indirect_alignment.py | 56 vmlinux = f"/usr/lib/debug/lib/modules/{os.uname().release}/vmlinux" variable 57 if not os.path.exists(vmlinux): 63 retpolines_start_vmlinux, retpolines_sec_offset, size = c.get_section_info(vmlinux, '.retpoline_sit… 66 sites_offset = c.get_patch_sites(vmlinux, retpolines_sec_offset, size) 81 with open(vmlinux, 'rb') as f:
|
| A D | common.py | 104 def get_section_info(vmlinux, section_name): argument 106 with open(vmlinux, 'rb') as f: 116 def get_patch_sites(vmlinux, offset, size): argument 119 with open(vmlinux, 'rb') as f:
|
| /tools/testing/selftests/sched_ext/ |
| A D | Makefile | 40 VMLINUX_BTF_PATHS ?= $(if $(O),$(O)/vmlinux) \ 41 $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \ 42 ../../../../vmlinux \ 43 /sys/kernel/btf/vmlinux \ 44 /boot/vmlinux-$(shell uname -r) 47 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)") 125 $(INCLUDE_DIR)/vmlinux.h: $(VMLINUX_BTF) $(BPFTOOL) | $(INCLUDE_DIR) 134 $(SCXOBJ_DIR)/%.bpf.o: %.bpf.c $(INCLUDE_DIR)/vmlinux.h | $(BPFOBJ) $(SCXOBJ_DIR) 138 $(INCLUDE_DIR)/%.bpf.skel.h: $(SCXOBJ_DIR)/%.bpf.o $(INCLUDE_DIR)/vmlinux.h $(BPFTOOL) | $(INCLUDE_…
|
| /tools/perf/tests/ |
| A D | vmlinux-kallsyms.c | 196 struct machine vmlinux; in test__vmlinux_matches_kallsyms() local 208 machine__init(&vmlinux, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms() 210 maps = machine__kernel_maps(&vmlinux); in test__vmlinux_matches_kallsyms() 257 if (machine__create_kernel_maps(&vmlinux) < 0) { in test__vmlinux_matches_kallsyms() 262 args.vmlinux_map = machine__kernel_map(&vmlinux); in test__vmlinux_matches_kallsyms() 275 if (machine__load_vmlinux_path(&vmlinux) <= 0) { in test__vmlinux_matches_kallsyms() 378 machine__exit(&vmlinux); in test__vmlinux_matches_kallsyms()
|
| /tools/testing/selftests/hid/ |
| A D | Makefile | 84 VMLINUX_BTF_PATHS ?= $(if $(O),$(O)/vmlinux) \ 85 $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \ 86 ../../../../vmlinux \ 87 /sys/kernel/btf/vmlinux \ 88 /boot/vmlinux-$(shell uname -r) 91 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)") 147 $(INCLUDE_DIR)/vmlinux.h: $(VMLINUX_BTF) $(BPFTOOL) | $(INCLUDE_DIR) 222 $(INCLUDE_DIR)/vmlinux.h \
|
| /tools/bpf/bpftool/ |
| A D | Makefile | 203 VMLINUX_BTF_PATHS ?= $(if $(O),$(O)/vmlinux) \ 204 $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \ 205 ../../../vmlinux \ 206 /sys/kernel/btf/vmlinux \ 207 /boot/vmlinux-$(shell uname -r) 218 $(OUTPUT)vmlinux.h: $(VMLINUX_BTF) $(BPFTOOL_BOOTSTRAP) 221 $(OUTPUT)vmlinux.h: $(VMLINUX_H) 225 $(OUTPUT)%.bpf.o: skeleton/%.bpf.c $(OUTPUT)vmlinux.h $(LIBBPF_BOOTSTRAP) 268 $(Q)$(RM) -- $(OUTPUT)*.skel.h $(OUTPUT)vmlinux.h
|
| A D | .gitignore | 10 /vmlinux.h
|
| /tools/perf/util/bpf_skel/vmlinux/ |
| A D | .gitignore | 1 !vmlinux.h
|
| /tools/perf/util/bpf_skel/ |
| A D | .gitignore | 4 vmlinux.h
|
| /tools/perf/tests/shell/ |
| A D | trace_btf_enum.sh | 19 if [ ! -f /sys/kernel/btf/vmlinux ]
|
| A D | trace_btf_general.sh | 20 if [ ! -f /sys/kernel/btf/vmlinux ]
|
| /tools/testing/selftests/wireguard/qemu/ |
| A D | Makefile | 131 KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH)/vmlinux 143 KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH)/vmlinux 155 KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH)/vmlinux 167 KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH)/vmlinux 179 KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH)/vmlinux 189 KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH)/vmlinux 209 KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH)/vmlinux 253 KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH)/vmlinux
|
| /tools/testing/selftests/bpf/ |
| A D | Makefile | 214 VMLINUX_BTF_PATHS ?= $(if $(O),$(O)/vmlinux) \ 215 $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \ 216 ../../../../vmlinux \ 217 /sys/kernel/btf/vmlinux \ 218 /boot/vmlinux-$(shell uname -r) 221 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)") 404 $(INCLUDE_DIR)/vmlinux.h: $(VMLINUX_BTF) $(BPFTOOL) | $(INCLUDE_DIR) 407 $(Q)$(BPFTOOL) btf dump file $(VMLINUX_BTF) format c > $(INCLUDE_DIR)/.vmlinux.h.tmp 408 $(Q)cmp -s $(INCLUDE_DIR)/.vmlinux.h.tmp $@ || mv $(INCLUDE_DIR)/.vmlinux.h.tmp $@ 580 $$(INCLUDE_DIR)/vmlinux.h \
|