aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <[email protected]>2017-07-19 14:49:34 +1000
committerMichael Ellerman <[email protected]>2017-08-03 16:06:46 +1000
commitd3ca587404b36943b02df87406054ce73cc49500 (patch)
tree6e6d4013509afd0bd6d9f4bf043b34b4a95d96a5 /tools/perf/scripts/python/export-to-postgresql.py
parent65d47fd4a37cbd60d0737cdae09edf1d208364d7 (diff)
powerpc/mm: Fix reporting of kernel execute faults
We currently test for is_exec and DSISR_PROTFAULT but that doesn't make sense as this is the wrong error bit to test for an execute permission failure. In fact, we had code that would return early if we had an exec fault in kernel mode so I think that was just dead code anyway. Finally the location of that test is awkward and prevents further simplifications. So instead move that test into a helper along with the existing early test for kernel exec faults and out of range accesses, and put it all in a "bad_kernel_fault()" helper. While at it test the correct error bits. Signed-off-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions