aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2022-03-01 09:55:36 -0800
committerMartin K. Petersen <[email protected]>2022-03-01 23:56:27 -0500
commit07e0984b96ec1ba8c6de1c092b986b00ea0c114c (patch)
tree2f28460e0414cc597f564454c3357836adff2c1f /tools/perf/scripts/python/stackcollapse.py
parent32698c955295957d63f042f4bb30e9d613ca8b55 (diff)
scsi: scsi_transport_fc: Fix FPIN Link Integrity statistics counters
In the original FPIN commit, stats were incremented by the event_count. Event_count is the minimum # of events that must occur before an FPIN is sent. Thus, its not the actual number of events, and could be significantly off (too low) as it doesn't reflect anything not reported. Rather than attempt to count events, have the statistic count how many FPINS cross the threshold and were reported. Link: https://lore.kernel.org/r/[email protected] Fixes: 3dcfe0de5a97 ("scsi: fc: Parse FPIN packets and update statistics") Cc: <[email protected]> # v5.11+ Cc: Shyam Sundar <[email protected]> Cc: Nilesh Javali <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions