diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2018-05-10 15:59:42 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-05-14 17:05:16 +0300 |
| commit | 7e20188176604bf10ac396efe31ddf39d3eb8cf4 (patch) | |
| tree | 550e77d3ec14b4e75204d0bc1504917cd401af80 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 0ded9c61c13746991cbcc098cf00715526627e9a (diff) | |
| download | linux-7e20188176604bf10ac396efe31ddf39d3eb8cf4.tar.xz | |
i40e: remove duplicate pfc stats
The pfc related priority stats are already handled separately as these
stats are actually arrays of length I40E_MAX_USER_PRIORITY. Thus,
including them within i40e_gstrings_stats will just duplicate data.
Worse, the sizeof will be incorrect, as it will be the total size of the
stat arrays, which in this case is 8 * sizeof(u64), so we will only copy
the stat contents as if they were a u32.
Since we already correctly handle these stats else where, remove them
from the i40e_gstrings_stats.
Signed-off-by: Jacob Keller <jacob.e.keller@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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
