函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\sysfs_btf.c Create Date:2022-07-27 14:48:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:btf_vmlinux_init

函数原型:static int __init btf_vmlinux_init(void)

返回类型:int

参数:

33  如果非See scripts/link-vmlinux.sh, gen_btf() func for details 则返回:0
36  btf_kobj等于kobject_create_and_add() - Create a struct kobject dynamically and* register it with sysfs.*@name: the name for the kobject*@parent: the parent kobject of this kobject, if any.* This function creates a kobject structure dynamically and registers it
37  如果非btf_kobj则返回:负ENOMEM
40  属性大小等于_binary__btf_vmlinux_bin_endSee scripts/link-vmlinux.sh, gen_btf() func for details
43  返回:sysfs_create_bin_file(btf_kobj, & bin_attr_btf_vmlinux)