aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2018-06-14 15:27:17 -0700
committerLinus Torvalds <[email protected]>2018-06-15 07:55:24 +0900
commit26b95137d673d8d6a9a124d433d968e18298f4ed (patch)
tree1f31d199ff9290dbd082a2559731fb6fce193edc /tools/perf/scripts/python/export-to-postgresql.py
parent37a4094e828f3c7673aa9c60f8b2b9d1019db81b (diff)
proc: skip branch in /proc/*/* lookup
Code is structured like this: for ( ... p < last; p++) { if (memcmp == 0) break; } if (p >= last) ERROR OK gcc doesn't see that if if lookup succeeds than post loop branch will never be taken and skip it. [[email protected]: proc_pident_instantiate() no longer takes an inode*] Link: http://lkml.kernel.org/r/20180423213954.GD9043@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions