diff options
author | Alexey Dobriyan <[email protected]> | 2017-11-17 15:26:52 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-11-17 16:10:00 -0800 |
commit | 0746a0bc6e6e76444098cf944848554d21d28cae (patch) | |
tree | 2287ccc2e1964153844f291052820e69f6c115a8 /tools/perf/scripts/python/stat-cpi.py | |
parent | 3ee2a19908f27b8fea8ff14ffa8b755585eb7b4a (diff) |
proc: use do-while in name_to_int()
Gcc doesn't know that "len" is guaranteed to be >=1 by dcache and
generates standard while-loop prologue duplicating loop condition.
add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-27 (-27)
function old new delta
name_to_int 104 77 -27
Link: http://lkml.kernel.org/r/20170912195213.GB17730@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions