commit | f6d2f584d88616e27eeb603dc8c88ca16e00d682 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Tue Aug 21 21:54:34 2018 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 22 10:52:46 2018 -0700 |
tree | d72d76e6cfc3b9b4aa2f2cdf00053b0a630b5294 | |
parent | 41089b6d3e44a895076cc8ce56b08e463cb4f796 [diff] |
proc: use macro in /proc/latency hook ->latency_record is defined as struct latency_record[LT_SAVECOUNT]; so use the same macro whie iterating. Link: http://lkml.kernel.org/r/20180627200534.GA18434@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>