aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2009-09-22 15:50:24 +0200
committerIngo Molnar <[email protected]>2009-09-22 17:30:41 +0200
commit3967684006f30c253bc6d4a6604d1bad4a7fc672 (patch)
tree762eff17c78cb4399b39d5d754fc0540f3042483 /tools/perf/scripts/python/check-perf-trace.py
parentb8c7f1dc5ca4e0d10709182233cdab932cef593d (diff)
x86: mce: Clean up thermal throttling state tracking code
Instead of a mess of three separate percpu variables, consolidate the state into a single structure. Also clean up therm_throt_process(), use cleaner and more understandable variable names and a clearer logic. This, without changing the logic, makes the code more streamlined, more readable and smaller as well: text data bss dec hex filename 1487 169 4 1660 67c therm_throt.o.before 1432 176 4 1612 64c therm_throt.o.after Cc: Hidetoshi Seto <[email protected]> Cc: Huang Ying <[email protected]> Cc: Andi Kleen <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions