diff options
author | 2019-09-03 16:20:21 -0300 | |
---|---|---|
committer | 2019-09-09 11:22:20 -0700 | |
commit | 54579ca8371568227100ea5af2b3024a9eb45ed9 (patch) | |
tree | f30bcc962b97cf1ec1b4db1f27df24670685bb34 /tools/perf/scripts/python/syscall-counts.py | |
parent | i40e: fix hw_dbg usage in i40e_hmc_get_object_va (diff) | |
download | linux-dev-54579ca8371568227100ea5af2b3024a9eb45ed9.tar.xz linux-dev-54579ca8371568227100ea5af2b3024a9eb45ed9.zip |
i40e: Implement debug macro hw_dbg using dev_dbg
There are several uses of hw_dbg in the code, producing no output. This
patch implements it using dev_debug.
Initially the intention was to implement it using netdev_dbg, analogously
to what is done in ixgbe for instance. That approach was avoided due to
some early usages of hw_dbg, like i40e_pf_reset, before the VSI structure
initialization causing NULL pointer dereference during the driver probe if
the debug messages were turned on as soon as the module is probed.
v2:
- Use dev_dbg instead of pr_debug, and take advantage of dev_name
instead of crafting pretty much the same device name locally as suggested
by Jakub Kicinski.
Signed-off-by: "Mauro S. M. Rodrigues" <maurosr@linux.vnet.ibm.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions