summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2024-10-16 17:00:44 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2024-10-28 18:33:10 +0800
commitb8d2e7bac3f768e5ab0b52a4a6dd65aa130113be (patch)
tree052118c616b61edfc592aa01e8a49ab50158b478 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentebb445f5e7950a9e052a7df9e6f56c32539f2e55 (diff)
crypto: x86/aegis128 - eliminate some indirect calls
Instead of using a struct of function pointers to decide whether to call the encryption or decryption assembly functions, use a conditional branch on a bool. Force-inline the functions to avoid actually generating the branch. This improves performance slightly since indirect calls are slow. Remove the now-unnecessary CFI stubs. Note that just force-inlining the existing functions might cause the compiler to optimize out the indirect branches, but that would not be a reliable way to do it and the CFI stubs would still be required. Reviewed-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions