aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2017-06-29 13:41:28 -0500
committerIngo Molnar <[email protected]>2017-06-30 09:37:59 +0200
commit72298e5c92c50edd8cb7cfda4519483ce65fa166 (patch)
treecd927a0333b4b8c66ec619acdfcee4525ff46ff5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent48365b38849fdb1ee6dc65beac044ca59f669683 (diff)
sched/cputime: Refactor the cputime_adjust() code
Address a Coverity false positive, which is caused by overly convoluted code: Value assigned to variable 'utime' at line 619:utime = rtime; is overwritten at line 642:utime = rtime - stime; before it can be used. This makes such variable assignment useless. Remove this variable assignment and refactor the code related. Addresses-Coverity-ID: 1371643 Signed-off-by: Gustavo A. R. Silva <[email protected]> Cc: Frans Klaver <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Stanislaw Gruszka <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Wanpeng Li <[email protected]> Link: http://lkml.kernel.org/r/20170629184128.GA5271@embeddedgus Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions