aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2017-09-15 13:05:38 -0400
committerJens Axboe <[email protected]>2017-09-25 08:56:05 -0600
commitd08774738446e77734777adcf5d1045237b4475a (patch)
treea038a10f318185bbf4eddcb8dc59d52d09032213 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent161b8be2bd6abad250d4b3f674bdd5480f15beeb (diff)
nvme-pci: Print invalid SGL only once
The WARN_ONCE macro returns true if the condition is true, not if the warn was raised, so we're printing the scatter list every time it's invalid. This is excessive and makes debugging harder, so this patch prints it just once. Signed-off-by: Keith Busch <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions