diff options
author | 2024-01-04 22:22:23 +0800 | |
---|---|---|
committer | 2024-01-04 20:22:10 -0800 | |
commit | 00bc8988807985e32f5103f1ac099baf593bd8a3 (patch) | |
tree | d649b54630cb71b10e84e48ebb281a36a0253ac0 /tools/perf/scripts/python/stackcollapse.py | |
parent | Merge branch 's390-bpf-fix-gotol-with-large-offsets' (diff) | |
download | wireguard-linux-00bc8988807985e32f5103f1ac099baf593bd8a3.tar.xz wireguard-linux-00bc8988807985e32f5103f1ac099baf593bd8a3.zip |
bpf, x86: Use emit_nops to replace memcpy x86_nops
Move emit_nops() before emit_prologue() and replace
memcpy(prog, x86_nops[5], X86_PATCH_SIZE) with emit_nops(&prog, X86_PATCH_SIZE).
Signed-off-by: Leon Hwang <hffilwlqm@gmail.com>
Link: https://lore.kernel.org/r/20240104142226.87869-2-hffilwlqm@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions