Simplify parse_diskstats_line() and _calc_delta_for(). Use UPPERCASE for constants. Don't save unused values in dev stats array. Use actual values from an OptionParser/pt-diskstats.

This commit is contained in:
Daniel Nichter
2012-01-12 10:09:40 -07:00
parent 3165b3c0f8
commit 8d70a272fe
4 changed files with 84 additions and 126 deletions

View File

@@ -3491,7 +3491,7 @@ Perl regex of which columns to include.
=item --devices
type: string
type: string; default: .+
Perl regex of which devices to include.