aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2011-04-07 21:44:21 +0000
committerBenjamin Herrenschmidt <[email protected]>2011-04-18 13:08:19 +1000
commit84ffae55af79d7b8834fd0c08d0d1ebf2c77f91e (patch)
tree05eb620325efeac9cb2ddb4bc845416fdaf6c302 /tools/perf/util/scripting-engines/trace-event-python.c
parent127493d5dc73589cbe00ea5ec8357cc2a4c0d82a (diff)
powerpc: Fix oops if scan_dispatch_log is called too early
We currently enable interrupts before the dispatch log for the boot cpu is setup. If a timer interrupt comes in early enough we oops in scan_dispatch_log: Unable to handle kernel paging request for data at address 0x00000010 ... .scan_dispatch_log+0xb0/0x170 .account_system_vtime+0xa0/0x220 .irq_enter+0x88/0xc0 .do_IRQ+0x48/0x230 The patch below adds a check to scan_dispatch_log to ensure the dispatch log has been allocated. Signed-off-by: Anton Blanchard <[email protected]> Cc: <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions