aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorZi Shen Lim <[email protected]>2016-01-13 23:33:22 -0800
committerDavid S. Miller <[email protected]>2016-01-17 19:15:26 -0500
commit42ff712bc0c3d7cd60d29b319aecd2d2c8cc75d4 (patch)
tree41722ff39391f428b5ee48ce461b32329be4fda4 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentc94ae4f7c5ec6b6fddde1c08809d5e32a963d7f3 (diff)
arm64: bpf: add extra pass to handle faulty codegen
Code generation functions in arch/arm64/kernel/insn.c previously BUG_ON invalid parameters. Following change of that behavior, now we need to handle the error case where AARCH64_BREAK_FAULT is returned. Instead of error-handling on every emit() in JIT, we add a new validation pass at the end of JIT compilation. There's no point in running JITed code at run-time only to trap due to AARCH64_BREAK_FAULT. Instead, we drop this failed JIT compilation and allow the system to gracefully fallback on the BPF interpreter. Signed-off-by: Zi Shen Lim <[email protected]> Suggested-by: Alexei Starovoitov <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions