diff options
author | 2022-01-06 17:15:06 +0530 | |
---|---|---|
committer | 2022-01-15 12:21:24 +1100 | |
commit | fab07611fb2e6a15fac05c4583045ca5582fd826 (patch) | |
tree | db2568d475a92f7d0782712a85549f0fa1870edd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack() (diff) | |
download | linux-dev-fab07611fb2e6a15fac05c4583045ca5582fd826.tar.xz linux-dev-fab07611fb2e6a15fac05c4583045ca5582fd826.zip |
powerpc32/bpf: Fix codegen for bpf-to-bpf calls
Pad instructions emitted for BPF_CALL so that the number of instructions
generated does not change for different function addresses. This is
especially important for calls to other bpf functions, whose address
will only be known during extra pass.
Fixes: 51c66ad849a703 ("powerpc/bpf: Implement extended BPF on PPC32")
Cc: stable@vger.kernel.org # v5.13+
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/52d8fe51f7620a6f27f377791564d79d75463576.1641468127.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions