diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-03-08 18:30:30 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-03-15 12:32:37 +0300 |
commit | d15cb3dab1e4f00e29599a4f5e1f6678a530d270 (patch) | |
tree | 0a1cdf9129615771da2f0f2cabc00274b60e2ce4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aebfd12521d9c7d0b502cf6d06314cfbcdccfe3b (diff) | |
download | linux-d15cb3dab1e4f00e29599a4f5e1f6678a530d270.tar.xz |
x86/livepatch: Validate __fentry__ location
Currently livepatch assumes __fentry__ lives at func+0, which is most
likely untrue with IBT on. Instead make it use ftrace_location() by
default which both validates and finds the actual ip if there is any
in the same symbol.
Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154318.285971256@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions