Home
last modified time | relevance | path

Searched refs:sysfs_btf_path (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dbtf.c5035 const char *sysfs_btf_path = "/sys/kernel/btf/vmlinux"; in btf__load_vmlinux_btf() local
5052 if (faccessat(AT_FDCWD, sysfs_btf_path, F_OK, AT_EACCESS) < 0) { in btf__load_vmlinux_btf()
5054 sysfs_btf_path); in btf__load_vmlinux_btf()
5056 btf = btf__parse(sysfs_btf_path, NULL); in btf__load_vmlinux_btf()
5059 pr_warn("failed to read kernel BTF from '%s': %d\n", sysfs_btf_path, err); in btf__load_vmlinux_btf()
5062 pr_debug("loaded kernel BTF from '%s'\n", sysfs_btf_path); in btf__load_vmlinux_btf()