diff options
| author | Andre Guedes <andre.guedes@intel.com> | 2020-03-25 03:38:18 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-05-19 03:16:26 +0300 |
| commit | 5c32bac98c705ce409ac26b5120c14ece8bd9209 (patch) | |
| tree | 0c73e11294e30829099455daec88c399684df767 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 916a3c650763fbe1e1d37af105a82fee26da45a5 (diff) | |
| download | linux-5c32bac98c705ce409ac26b5120c14ece8bd9209.tar.xz | |
igc: Use netdev log helpers in igc_dump.c
In igc_dump.c we print log messages using dev_* and pr_* helpers,
generating inconsistent output with the rest of the driver. Since this
is a network device driver, we should preferably use netdev_* helpers
because they append the interface name to the message, helping making
sense out of the logs.
This patch converts all dev_* and pr_* calls to netdev_*.
Quick note about igc_rings_dump(): This function is always called with
valid adapter->netdev so there is not need to check it.
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
