commit | 7afa86ee2599c8c5a4090e36c50039df2fbb0b45 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | Fri Sep 13 21:43:46 2024 +0900 |
committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | Fri Oct 25 19:27:51 2024 +0900 |
tree | ff60b014900a466d6c045c8a00d2ea6708b2730d | |
parent | 3ea520639507d56658602799008769a5cb34d0dd [diff] |
bpf: Add get_entry_ip() for arm64 Add get_entry_ip() implementation for arm64. This is based on the information in ftrace_call_adjust() on arm64. Basically function entry address = ftrace call entry_ip - 4, but when there is a BTI at the first instruction, we need one more instruction back (entry_ip - 8.) Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>