函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__bpf_prog_exit

函数原型:void notrace __bpf_prog_exit(struct bpf_prog *prog, u64 start)

返回类型:void

参数:

类型参数名称
struct bpf_prog *prog
u64start
281  如果static_branch_unlikely( & bpf_stats_enabled_key)且start
288  stats等于this_cpu_ptr(stats)
289  u64_stats_update_begin( & syncp)
290  cnt自加
291  nsecs加等于sched_clock()减start
292  u64_stats_update_end( & syncp)
294  禁用抢占和中断()
295  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()