ENUM DSO_BINARY_TYPE(9)
β¨ enum dso_binary_type(9) β¨
okay so this is a page from the Kernel API Manual, and it's all about the enum dso_binary_type β like, the glow-up list that tells you what kind of DSO a memory region is rocking. and yes bestie, "memory region" here means a struct map, iykyk π
π¦ NAME π¦
enum dso_binary_type β the kind of DSO generally associated with a memory region (that's a struct map, btw π«Ά).
πΈ SYNOPSIS πΈ
enum dso_binary_type {
DSO_BINARY_TYPE__KALLSYMS ,
DSO_BINARY_TYPE__GUEST_KALLSYMS ,
DSO_BINARY_TYPE__VMLINUX ,
DSO_BINARY_TYPE__GUEST_VMLINUX ,
DSO_BINARY_TYPE__JAVA_JIT ,
DSO_BINARY_TYPE__DEBUGLINK ,
DSO_BINARY_TYPE__BUILD_ID_CACHE ,
DSO_BINARY_TYPE__BUILD_ID_CACHE_DEBUGINFO ,
DSO_BINARY_TYPE__FEDORA_DEBUGINFO ,
DSO_BINARY_TYPE__UBUNTU_DEBUGINFO ,
DSO_BINARY_TYPE__MIXEDUP_UBUNTU_DEBUGINFO ,
DSO_BINARY_TYPE__BUILDID_DEBUGINFO ,
DSO_BINARY_TYPE__GNU_DEBUGDATA ,
DSO_BINARY_TYPE__SYSTEM_PATH_DSO ,
DSO_BINARY_TYPE__GUEST_KMODULE ,
DSO_BINARY_TYPE__GUEST_KMODULE_COMP ,
DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE ,
DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE_COMP ,
DSO_BINARY_TYPE__KCORE ,
DSO_BINARY_TYPE__GUEST_KCORE ,
DSO_BINARY_TYPE__OPENEMBEDDED_DEBUGINFO ,
DSO_BINARY_TYPE__BPF_PROG_INFO ,
DSO_BINARY_TYPE__BPF_IMAGE ,
DSO_BINARY_TYPE__OOL ,
DSO_BINARY_TYPE__NOT_FOUND
};
π Constants π
like, every single member of the squad, one by one, no skips π
DSO_BINARY_TYPE__KALLSYMSβ symbols from the/proc/kallsymsfile β¨DSO_BINARY_TYPE__GUEST_KALLSYMSβ the guest/proc/kallsymsfile π§DSO_BINARY_TYPE__VMLINUXβ path to the kernel/boot/vmlinuxfile πDSO_BINARY_TYPE__GUEST_VMLINUXβ path to the guest kernel/boot/vmlinuxfile π¦DSO_BINARY_TYPE__JAVA_JITβ symbols from the/tmp/perf.mapfile βDSO_BINARY_TYPE__DEBUGLINKβ a debug file you can read straight from the file path in the.gnu_debuglinkELF section of the dso π₯DSO_BINARY_TYPE__BUILD_ID_CACHEβ a file named after the buildid, chilling in the buildid cache with an elf filename πDSO_BINARY_TYPE__BUILD_ID_CACHE_DEBUGINFOβ a file named after the buildid, chilling in the buildid cache with a debug filename πΈDSO_BINARY_TYPE__FEDORA_DEBUGINFOβ debug file in/usr/lib/debugwith a.debugsuffix πDSO_BINARY_TYPE__UBUNTU_DEBUGINFOβ debug file in/usr/lib/debugπDSO_BINARY_TYPE__MIXEDUP_UBUNTU_DEBUGINFOβ thedso__long_namedebuginfo file living in/usr/lib/debug/libinstead of the expected/usr/lib/debug/usr/libπ (yes, "mixedup" is literally the name, it's giving chaotic energy)DSO_BINARY_TYPE__BUILDID_DEBUGINFOβ a file named after the buildid, located in/usr/lib/debug/.build-id/πDSO_BINARY_TYPE__GNU_DEBUGDATAβ MiniDebuginfo, where a compressed ELF file gets placed in a.gnu_debugdatasection πDSO_BINARY_TYPE__SYSTEM_PATH_DSOβ a regular executable/shared-object file, no drama π«DSO_BINARY_TYPE__GUEST_KMODULEβ guest kernel module.kofile π§DSO_BINARY_TYPE__GUEST_KMODULE_COMPβ guest kernel module.ko.gzfile π (compressed era)DSO_BINARY_TYPE__SYSTEM_PATH_KMODULEβ kernel module.kofile πDSO_BINARY_TYPE__SYSTEM_PATH_KMODULE_COMPβ kernel module.ko.gzfile π₯DSO_BINARY_TYPE__KCOREβ the/proc/kcorefile πDSO_BINARY_TYPE__GUEST_KCOREβ the guest/proc/kcorefile π¦DSO_BINARY_TYPE__OPENEMBEDDED_DEBUGINFOβ Openembedded/Yocto-dbgpackage debug info πΈDSO_BINARY_TYPE__BPF_PROG_INFOβ jitted BPF code βDSO_BINARY_TYPE__BPF_IMAGEβ jitted BPF trampoline or dispatcher code β¨DSO_BINARY_TYPE__OOLβ out of line code, like kprobe-replaced instructions, or optimized kprobes, or ftrace trampolines π₯DSO_BINARY_TYPE__NOT_FOUNDβ unknown DSO kind, the "idk her" of the enum π
π SEE ALSO π
- Kernel file
./tools/perf/util/dso.h struct dso_id(9)
k that's the whole page bestie, you ate it up π
and just so you know where it came from β it lives in ./tools/perf/util, dated October 2026, and it's signed off as enum dso_binary_type(9) fr fr π«Άβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms