diff options
author | Josh Poimboeuf <[email protected]> | 2020-08-18 15:57:45 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-09-01 09:58:05 +0200 |
commit | 1e7e47883830aae5e8246a22ca2fc6883c61acdf (patch) | |
tree | 225d6e2fc34af21e42996c0434f871486c586a2f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e6d6c071f22de29e4993784fc00cd2202b7ba149 (diff) |
x86/static_call: Add inline static call implementation for x86-64
Add the inline static call implementation for x86-64. The generated code
is identical to the out-of-line case, except we move the trampoline into
it's own section.
Objtool uses the trampoline naming convention to detect all the call
sites. It then annotates those call sites in the .static_call_sites
section.
During boot (and module init), the call sites are patched to call
directly into the destination function. The temporary trampoline is
then no longer used.
[peterz: merged trampolines, put trampoline in section]
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions