diff options
| author | Brett Creeley <brett.creeley@intel.com> | 2018-10-26 20:41:00 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-11-13 20:09:25 +0300 |
| commit | 807bc98d31097bfe22fbf8236413db5490932456 (patch) | |
| tree | 36ce112564a29a70a7fba8e8af7a99e7b2895b01 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3e536cff34244959c81575733c9ca60633f74e1b (diff) | |
| download | linux-807bc98d31097bfe22fbf8236413db5490932456.tar.xz | |
ice: Fix debug print in ice_tx_timeout
Currently the debug print in ice_tx_timeout is printing useless and
duplicate values. First, head is being assigned to tx_ring->next_to_clean
and we are printing both of those values, but naming them HWB and NTC
respectively. Also, reading tail always returns 0 so remove that as well.
Instead of assigning the SW head (NTC) read to head, use the actual head
register and change the debug print to note that this is HW_HEAD. Also
reduce the scope of a couple variables.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
