diff options
author | Peter Zijlstra <[email protected]> | 2021-02-25 23:03:51 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-03-06 12:49:08 +0100 |
commit | 50bf8080a94d171e843fc013abec19d8ab9f50ae (patch) | |
tree | dd509e6667c8d7f66d806e3c11b8551b85c5376c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) |
static_call: Fix the module key fixup
Provided the target address of a R_X86_64_PC32 relocation is aligned,
the low two bits should be invariant between the relative and absolute
value.
Turns out the address is not aligned and things go sideways, ensure we
transfer the bits in the absolute form when fixing up the key address.
Fixes: 73f44fe19d35 ("static_call: Allow module use without exposing static_call_key")
Reported-by: Steven Rostedt <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Steven Rostedt (VMware) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions