diff options
author | 2023-08-01 10:52:22 +0300 | |
---|---|---|
committer | 2023-08-01 10:53:28 -0700 | |
commit | d3c4db86c71164ed9ae17b4026e1acde460a18ab (patch) | |
tree | e87103ebf0ba3975da3e06babd094825313b075f /kernel/bpf/core.c | |
parent | Merge branch 'Remove unused fields in cpumap & devmap' (diff) | |
download | wireguard-linux-d3c4db86c71164ed9ae17b4026e1acde460a18ab.tar.xz wireguard-linux-d3c4db86c71164ed9ae17b4026e1acde460a18ab.zip |
tracing: bpf: use struct trace_entry in struct syscall_tp_t
bpf tracepoint program uses struct trace_event_raw_sys_enter as
argument where trace_entry is the first field. Use the same instead
of unsigned long long since if it's amended (for example by RT
patch) it accesses data with wrong offset.
Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230801075222.7717-1-ykaliuta@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/core.c')
0 files changed, 0 insertions, 0 deletions