Skip to content
Commit d3c4db86 authored by Yauheni Kaliuta's avatar Yauheni Kaliuta Committed by Alexei Starovoitov
Browse files

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: default avatarYauheni Kaliuta <ykaliuta@redhat.com>
Acked-by: default avatarYonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230801075222.7717-1-ykaliuta@redhat.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 11108652
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment