diff options
| author | Menglong Dong <[email protected]> | 2023-07-13 04:07:36 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-07-13 23:04:56 +0000 |
| commit | 02a6dfa8ff43efb1c989f87a4d862aedf436088a (patch) | |
| tree | 1f48fb9794d958125471c4f451f56f7688da4e69 /tools/testing/selftests/bpf/progs/tracing_struct.c | |
| parent | bpftool: Use "fallthrough;" keyword instead of comments (diff) | |
| download | kernel-02a6dfa8ff43efb1c989f87a4d862aedf436088a.tar.gz kernel-02a6dfa8ff43efb1c989f87a4d862aedf436088a.zip | |
bpf, x86: save/restore regs with BPF_DW size
As we already reserve 8 byte in the stack for each reg, it is ok to
store/restore the regs in BPF_DW size. This will make the code in
save_regs()/restore_regs() simpler.
Signed-off-by: Menglong Dong <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
