Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\dynamic_debug.c Create Date:2022-07-28 07:15:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__dynamic_netdev_dbg

Proto:void __dynamic_netdev_dbg(struct _ddebug *descriptor, const struct net_device *dev, const char *fmt, ...)

Type:void

Parameter:

TypeParameterName
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  If dev && parent Then
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  Else if dev Then
629  printk(debug-level messages "%s%s: %pV", dev_printk helpers, similar to dev_printk , netdev_reg_state(dev), & vaf)
631  Else
632  printk(debug-level messages "(NULL net_device): %pV", & vaf)
635  va_end(args)