Home
last modified time | relevance | path

Searched refs:vmlinux (Results 1 – 25 of 262) sorted by relevance

1234567891011

/linux-6.12.1/arch/mips/boot/
DMakefile32 targets := vmlinux.ecoff
35 $(obj)/vmlinux.ecoff: $(obj)/elf2ecoff $(VMLINUX) FORCE
38 targets += vmlinux.bin
41 $(obj)/vmlinux.bin: $(VMLINUX) FORCE
44 targets += vmlinux.srec
47 $(obj)/vmlinux.srec: $(VMLINUX) FORCE
57 extra-y += vmlinux.bin.bz2
58 extra-y += vmlinux.bin.gz
59 extra-y += vmlinux.bin.lzma
60 extra-y += vmlinux.bin.lzo
[all …]
/linux-6.12.1/arch/x86/boot/compressed/
DMakefile20 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
21 vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4 vmlinux.bin.zst
83 $(obj)/../voffset.h: vmlinux FORCE
88 vmlinux-objs-y := $(obj)/vmlinux.lds $(obj)/kernel_info.o $(obj)/head_$(BITS).o \
92 vmlinux-objs-$(CONFIG_EARLY_PRINTK) += $(obj)/early_serial_console.o
93 vmlinux-objs-$(CONFIG_RANDOMIZE_BASE) += $(obj)/kaslr.o
95 vmlinux-objs-y += $(obj)/ident_map_64.o
96 vmlinux-objs-y += $(obj)/idt_64.o $(obj)/idt_handlers_64.o
97 vmlinux-objs-$(CONFIG_AMD_MEM_ENCRYPT) += $(obj)/mem_encrypt.o
98 vmlinux-objs-y += $(obj)/pgtable_64.o
[all …]
/linux-6.12.1/arch/s390/boot/
DMakefile38 targets += vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2
39 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
40 targets += vmlinux.bin.zst info.bin syms.bin vmlinux.syms $(obj-all)
46 clean-files += vmlinux.map
61 $(obj)/bzImage: $(obj)/vmlinux $(obj)/section_cmp.boot.data $(obj)/section_cmp.boot.preserved.data …
64 $(obj)/section_cmp%: vmlinux $(obj)/vmlinux FORCE
68 …y) --oformat $(LD_BFD) -e startup $(if $(CONFIG_VMLINUX_MAP),-Map=$(obj)/vmlinux.map) --build-id=s…
69 $(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS_ALL) FORCE
73 $(obj)/vmlinux.syms: $(obj)/vmlinux.lds $(OBJECTS) FORCE
81 $(obj)/syms.bin: $(obj)/vmlinux.syms FORCE
[all …]
Dstartup.c120 memmove(output, uncompressed_start, vmlinux.image_size); in deploy_kernel()
121 memset(uncompressed_start, 0, vmlinux.image_size); in deploy_kernel()
143 if (__boot_data_end - __boot_data_start != vmlinux.bootdata_size) in copy_bootdata()
145 memcpy((void *)vmlinux.bootdata_off, __boot_data_start, vmlinux.bootdata_size); in copy_bootdata()
146 if (__boot_data_preserved_end - __boot_data_preserved_start != vmlinux.bootdata_preserved_size) in copy_bootdata()
148 …memcpy((void *)vmlinux.bootdata_preserved_off, __boot_data_preserved_start, vmlinux.bootdata_prese… in copy_bootdata()
175 for (entry = (u64 *)vmlinux.got_start; entry < (u64 *)vmlinux.got_end; entry++) { in kaslr_adjust_got()
352 memset((void *)kernel_start + vmlinux.image_size, 0, vmlinux.bss_size); in clear_bss_section()
371 vmlinux.bootdata_off += offset; in kaslr_adjust_vmlinux_info()
372 vmlinux.bootdata_preserved_off += offset; in kaslr_adjust_vmlinux_info()
[all …]
/linux-6.12.1/arch/sh/boot/
DMakefile29 targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz \
31 vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
32 vmlinux.bin.xz vmlinux.bin.lzo
35 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
39 $(obj)/compressed/vmlinux: FORCE
42 $(obj)/romImage: $(obj)/romimage/vmlinux FORCE
46 $(obj)/romimage/vmlinux: $(obj)/zImage FORCE
65 $(obj)/vmlinux.bin: vmlinux FORCE
68 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
71 $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
[all …]
/linux-6.12.1/arch/parisc/boot/compressed/
DMakefile9 targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2
10 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
23 $(obj)/vmlinux: $(obj)/vmlinux.lds $(addprefix $(obj)/, $(OBJECTS)) $(LIBGCC) FORCE
31 $(obj)/sizes.h: vmlinux FORCE
43 $(obj)/vmlinux.lds: $(obj)/sizes.h
46 $(obj)/vmlinux.bin: vmlinux FORCE
56 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
58 $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
60 $(obj)/vmlinux.bin.lz4: $(obj)/vmlinux.bin FORCE
62 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
[all …]
/linux-6.12.1/arch/sh/boot/compressed/
DMakefile11 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 \
12 vmlinux.bin.lzma vmlinux.bin.xz vmlinux.bin.lzo $(OBJECTS)
31 -T $(obj)/../../kernel/vmlinux.lds
35 $(obj)/vmlinux: $(addprefix $(obj)/, $(OBJECTS)) FORCE
38 $(obj)/vmlinux.bin: vmlinux FORCE
41 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
43 $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
45 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
47 $(obj)/vmlinux.bin.xz: $(obj)/vmlinux.bin FORCE
49 $(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE
[all …]
/linux-6.12.1/arch/nios2/boot/
DMakefile9 UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_stext" {print $$1}')
10 UIMAGE_ENTRYADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}')
15 targets += vmlinux.bin vmlinux.gz vmImage
17 $(obj)/vmlinux.bin: vmlinux FORCE
20 $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
23 $(obj)/vmImage: $(obj)/vmlinux.gz FORCE
27 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
31 $(obj)/compressed/vmlinux: $(obj)/vmlinux.gz FORCE
/linux-6.12.1/arch/arc/boot/
DMakefile9 LINUX_START_TEXT = $$($(READELF) -h vmlinux | \
15 targets += vmlinux.bin
16 targets += vmlinux.bin.gz
17 targets += vmlinux.bin.lzma
22 $(obj)/vmlinux.bin: vmlinux FORCE
25 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
28 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
31 $(obj)/uImage.bin: $(obj)/vmlinux.bin FORCE
34 $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz FORCE
37 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE
/linux-6.12.1/arch/alpha/boot/
DMakefile12 targets := vmlinux.gz vmlinux \
13 vmlinux.nh tools/lxboot tools/bootlx tools/bootph \
21 $(obj)/bootimage: $(addprefix $(obj)/tools/,mkbb lxboot bootlx) $(obj)/vmlinux.nh
22 ( cat $(obj)/tools/lxboot $(obj)/tools/bootlx $(obj)/vmlinux.nh ) > $@
27 $(obj)/bootpfile: $(obj)/tools/bootph $(obj)/vmlinux.nh
28 cat $(obj)/tools/bootph $(obj)/vmlinux.nh > $@
35 $(obj)/bootpzfile: $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz
36 cat $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz > $@
42 $(obj)/vmlinux.gz: $(obj)/vmlinux FORCE
50 $(obj)/ksize.h: $(obj)/vmlinux.nh FORCE
[all …]
/linux-6.12.1/scripts/
DMakefile.vmlinux4 __default: vmlinux
21 targets += .vmlinux.export.o
22 vmlinux: .vmlinux.export.o
32 targets += vmlinux
33 vmlinux: scripts/link-vmlinux.sh vmlinux.o $(KBUILD_LDS) FORCE
46 modules.builtin vmlinux.map vmlinux.o.map FORCE
49 vmlinux.map: vmlinux
Dextract-sys-certs.pl20 my $vmlinux = $ARGV[0];
26 open FD, "objdump -h $vmlinux |" || die $vmlinux;
28 close(FD) || die $vmlinux;
57 open FD, "nm $vmlinux 2>/dev/null |" || die $vmlinux;
59 close(FD) || die $vmlinux;
103 open FD, "<$vmlinux" || die $vmlinux;
125 die $vmlinux if (!defined(sysseek(FD, $size_off, SEEK_SET)));
147 die $vmlinux if (!defined(sysseek(FD, $foff, SEEK_SET)));
150 die "$vmlinux" if (!defined($len));
151 die "Short read on $vmlinux\n" if ($len != $size);
[all …]
DMakefile.vmlinux_o4 __default: vmlinux.o modules.builtin.modinfo modules.builtin
21 vmlinux.a $(KBUILD_VMLINUX_LIBS) FORCE
38 vmlinux-objtool-args-$(delay-objtool) += $(objtool-args-y)
39 vmlinux-objtool-args-$(CONFIG_GCOV_KERNEL) += --no-unreachable
40 vmlinux-objtool-args-$(CONFIG_NOINSTR_VALIDATION) += --noinstr \
43 objtool-args = $(vmlinux-objtool-args-y) --link
48 vmlinux-o-ld-args-$(CONFIG_BUILTIN_MODULE_RANGES) += -Map=$@.map
53 $(vmlinux-o-ld-args-y) \
55 --whole-archive vmlinux.a --no-whole-archive \
64 vmlinux.o: $(initcalls-lds) vmlinux.a $(KBUILD_VMLINUX_LIBS) FORCE
[all …]
Ddecode_stacktrace.sh41 vmlinux=""
46 …for fn in {,/usr/lib/debug}/boot/vmlinux-$release{,.debug} /lib/modules/$release{,/build}/vmlinux
48 vmlinux=$fn
53 if [[ $vmlinux == "" ]] ; then
59 vmlinux=$1
70 if [[ $vmlinux == "" && -z $debuginfod ]] ; then
98 …release=$(gdb -ex 'print init_uts_ns.name.release' -ex 'quit' -quiet -batch "$vmlinux" 2>/dev/null…
105 for dir in "$modpath" "$(dirname "$vmlinux")" ${release_dirs}; do
134 local objfile=$vmlinux
225 if [[ $vmlinux != "" ]]; then
[all …]
DMakefile.modpost75 vmlinux.symvers Module.symvers: .vmlinux.objs
91 targets += .vmlinux.objs
92 .vmlinux.objs: vmlinux.a $(KBUILD_VMLINUX_LIBS) FORCE
102 ifeq ($(wildcard vmlinux.o),)
103 missing-input := vmlinux.o
106 modpost-args += vmlinux.o
107 modpost-deps += vmlinux.o
108 output-symdump := $(if $(KBUILD_MODULES), Module.symvers, vmlinux.symvers)
Dlink-vmlinux.sh64 objs=vmlinux.o
67 objs=vmlinux.a
183 rm -f vmlinux
184 rm -f vmlinux.map
272 vmlinux_link vmlinux
276 info BTFIDS vmlinux
277 ${RESOLVE_BTFIDS} vmlinux
280 mksysmap vmlinux System.map
283 info SORTTAB vmlinux
284 if ! sorttable vmlinux; then
[all …]
/linux-6.12.1/arch/xtensa/boot/
DMakefile15 targets += vmlinux.bin vmlinux.bin.gz
35 $(obj)/vmlinux.bin: vmlinux FORCE
38 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
41 boot-elf: $(obj)/vmlinux.bin
42 boot-redboot: $(obj)/vmlinux.bin.gz
47 $(obj)/uImage: $(obj)/vmlinux.bin.gz FORCE
51 $(obj)/xipImage: vmlinux FORCE
/linux-6.12.1/arch/loongarch/boot/
DMakefile14 targets := vmlinux.elf
15 $(obj)/vmlinux.elf: vmlinux FORCE
18 targets += vmlinux.efi
19 $(obj)/vmlinux.efi: vmlinux FORCE
22 EFI_ZBOOT_PAYLOAD := vmlinux.efi
/linux-6.12.1/arch/mips/
DMakefile69 vmlinux-32 = vmlinux
70 vmlinux-64 = vmlinux.64
77 vmlinux-32 = vmlinux.32
78 vmlinux-64 = vmlinux
83 all-$(CONFIG_BOOT_ELF32) := $(vmlinux-32)
84 all-$(CONFIG_BOOT_ELF64) := $(vmlinux-64)
275 COMPRESSION_FNAME = vmlinux
287 entry-y = $(shell $(objtree)/arch/mips/tools/elf-entry vmlinux)
363 boot-y := vmlinux.bin
364 boot-y += vmlinux.ecoff
[all …]
/linux-6.12.1/arch/nios2/boot/compressed/
DMakefile6 targets := vmlinux head.o misc.o piggy.o vmlinux.lds
13 $(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) $(obj)/piggy.o FORCE
18 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/../vmlinux.gz FORCE
/linux-6.12.1/arch/powerpc/boot/
Dmain.c101 static struct addr_range prep_initrd(struct addr_range vmlinux, void *chosen, in prep_initrd() argument
126 if (initrd_addr < vmlinux.size) { in prep_initrd()
150 static void prep_esm_blob(struct addr_range vmlinux, void *chosen) in prep_esm_blob() argument
168 if (esm_blob_addr < vmlinux.size) { in prep_esm_blob()
186 static inline void prep_esm_blob(struct addr_range vmlinux, void *chosen) { } in prep_esm_blob() argument
229 struct addr_range vmlinux, initrd; in start() local
254 vmlinux = prep_kernel(); in start()
255 initrd = prep_initrd(vmlinux, chosen, in start()
257 prep_esm_blob(vmlinux, chosen); in start()
271 kentry = (kernel_entry_t) vmlinux.addr; in start()
[all …]
/linux-6.12.1/tools/sched_ext/
DREADME.md76 ## Getting a vmlinux.h file
78 You may notice that most of the example schedulers include a "vmlinux.h" file.
80 defined in some vmlinux binary that was compiled with
84 The header file is created using `bpftool`, by passing it a vmlinux binary
88 $ bpftool btf dump file /path/to/vmlinux format c > vmlinux.h
93 example, using vmlinux.h allows a scheduler to access fields defined directly
94 in vmlinux as follows:
97 #include "vmlinux.h"
98 // vmlinux.h is also implicitly included by scx_common.bpf.h.
102 * vmlinux.h provides definitions for struct task_struct and
[all …]
/linux-6.12.1/drivers/hid/bpf/progs/
DMakefile24 VMLINUX_BTF_PATHS ?= $(if $(O),$(O)/vmlinux) \
25 $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \
26 ../../../../vmlinux \
27 /sys/kernel/btf/vmlinux \
28 /boot/vmlinux-$(shell uname -r)
31 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)")
57 %.bpf.o: %.bpf.c vmlinux.h $(BPFOBJ) | $(OUTPUT)
63 vmlinux.h: $(VMLINUX_BTF) $(BPFTOOL) | $(INCLUDE_DIR)
/linux-6.12.1/tools/perf/Documentation/
Dperf.data-directory-format.txt48 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)
/linux-6.12.1/tools/bpf/runqslower/
DMakefile22 VMLINUX_BTF_PATHS := $(if $(O),$(O)/vmlinux) \
23 $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \
24 ../../../vmlinux /sys/kernel/btf/vmlinux \
25 /boot/vmlinux-$(KERNEL_REL)
48 $(Q)$(RM) $(OUTPUT)*.skel.h $(OUTPUT)vmlinux.h
60 $(OUTPUT)/runqslower.bpf.o: $(OUTPUT)/vmlinux.h runqslower.h | libbpf_hdrs
76 $(OUTPUT)/vmlinux.h: $(VMLINUX_BTF_PATH) | $(OUTPUT) $(BPFTOOL)

1234567891011