aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2016-04-06 21:59:50 +1000
committerIngo Molnar <[email protected]>2016-04-13 13:22:37 +0200
commitbd92883051a0228cc34996b8e766111ba10c9aac (patch)
treef0f1e3253cd3938d48bbbbd5f6605c02e0237043 /tools/perf/scripts/python
parent2c923e94cd9c6acff3b22f0ae29cfe65e2658b40 (diff)
sched/cpuacct: Check for NULL when using task_pt_regs()
task_pt_regs() can return NULL for kernel threads, so add a check. This fixes an oops at boot on ppc64. Reported-and-Tested-by: Srikar Dronamraju <[email protected]> Tested-by: Zhao Lei <[email protected]> Signed-off-by: Anton Blanchard <[email protected]> Acked-by: Zhao Lei <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/20160406215950.04bc3f0b@kryten Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions