函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__dynamic_netdev_dbg

函数原型:void __dynamic_netdev_dbg(struct _ddebug *descriptor, const struct net_device *dev, const char *fmt, ...)

返回类型:void

参数:

类型参数名称
struct _ddebug *descriptor
const struct net_device *dev
const char *fmt
610  BUG_ON(!descriptor)
611  BUG_ON(!fmt)
613  va_start(args, fmt)
615  fmt等于fmt
616  va等于args
618  如果devparent
621  dev_printk_emit(debug-level messages , parent, "%s%s %s %s%s: %pV", dynamic_emit_prefix(descriptor, buf), debugging and troubleshooting/diagnostic helpers. , dev_name(parent), dev_printk helpers, similar to dev_printk , netdev_reg_state(dev), & vaf)
628  否则如果dev
629  printk(debug-level messages "%s%s: %pV", dev_printk helpers, similar to dev_printk , netdev_reg_state(dev), & vaf)
631  否则
632  printk(debug-level messages "(NULL net_device): %pV", & vaf)
635  va_end(args)