diff options
| author | Yonghong Song <[email protected]> | 2023-07-27 18:12:07 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-07-27 18:52:33 -0700 |
| commit | 1f1e864b65554e33fe74e3377e58b12f4302f2eb (patch) | |
| tree | 9effb1a9e6dfd2f9bd97b90965f50d984612f7f5 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 8100928c881482a73ed8bd499d602bab0fe55608 (diff) | |
bpf: Handle sign-extenstin ctx member accesses
Currently, if user accesses a ctx member with signed types,
the compiler will generate an unsigned load followed by
necessary left and right shifts.
With the introduction of sign-extension load, compiler may
just emit a ldsx insn instead. Let us do a final movsx sign
extension to the final unsigned ctx load result to
satisfy original sign extension requirement.
Acked-by: Eduard Zingerman <[email protected]>
Signed-off-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions