diff options
| author | Leon Hwang <[email protected]> | 2024-01-04 22:22:23 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-01-04 20:22:10 -0800 |
| commit | 00bc8988807985e32f5103f1ac099baf593bd8a3 (patch) | |
| tree | d649b54630cb71b10e84e48ebb281a36a0253ac0 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 61a40c12496a763fdb95edc08d59f816a594a87a (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions