函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_get_context_bit

函数原型:static __always_inline int trace_get_context_bit(void)

返回类型:int

参数:

632  如果in_interrupt()则
633  如果in_nmi()则bit等于0
636  否则如果Are we doing bottom half or hardware interrupt processing?* in_irq() - We're in (hard) IRQ context* in_softirq() - We have BH disabled, or are processing softirqs* in_interrupt() - We're in NMI,IRQ,SoftIRQ context or have BH disabled* in_serving_softirq() ()则bit等于1
638  否则bit等于2
640  否则bit等于3
643  返回:bit
调用者
名称描述
trace_test_and_set_recursion