summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>2010-03-01 05:58:16 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-03-09 03:57:10 +0300
commit0212f2602a38e740d5a96aba4cebfc2ebc993ecf (patch)
treec65166065be1d195ca603b7d71f8ed4f5d32e223 /tools/perf/util/scripting-engines/trace-event-python.c
parent8dbce53cc249a76e9450708d291fce5a7e29c6a1 (diff)
downloadlinux-0212f2602a38e740d5a96aba4cebfc2ebc993ecf.tar.xz
powerpc: Move checks in pseries_mach_cpu_die()
Rearrange condition checks for better code readability and prevention of possible race conditions when preferred_offline_state can potentially change during the execution of pseries_mach_cpu_die(). The patch will make pseries_mach_cpu_die() put cpu in one of the consistent states and not hit the run over BUG() Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> Cc: Gautham R Shenoy <ego@in.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions