All of lore.kernel.org
 help / color / mirror / Atom feed
* sys_enter tracepoint ctx structure
@ 2023-04-20 13:50 Yauheni Kaliuta
       [not found] ` <CAADnVQ+JdPGV95Y30PskgdOomU2K0UXsoCydgqaJfJ5j4S8BtQ@mail.gmail.com>
  0 siblings, 1 reply; 10+ messages in thread
From: Yauheni Kaliuta @ 2023-04-20 13:50 UTC (permalink / raw)
  To: Yonghong Song; +Cc: bpf, asavkov, vmalik

Hi!

Should perf_call_bpf_enter/exit (kernel/trace/trace_syscalls.c)
use struct trace_event_raw_sys_enter/exit instead of locally
crafted struct syscall_tp_t nowadays? test_progs's vmlinux test
expects it as the context.

Or at least use struct trace_entry instead of struct pt_regs?

I have a problem with one RT patch with extends trace_entry.

-- 
WBR,
Yauheni Kaliuta


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-04-23 16:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-20 13:50 sys_enter tracepoint ctx structure Yauheni Kaliuta
     [not found] ` <CAADnVQ+JdPGV95Y30PskgdOomU2K0UXsoCydgqaJfJ5j4S8BtQ@mail.gmail.com>
2023-04-20 16:02   ` Fwd: " Alexei Starovoitov
2023-04-20 20:37   ` Yauheni Kaliuta
2023-04-20 20:54     ` Alexei Starovoitov
2023-04-20 21:40       ` Yauheni Kaliuta
2023-04-20 23:12         ` Alexei Starovoitov
2023-04-21 11:17           ` Yauheni Kaliuta
2023-04-21 16:02             ` Alexei Starovoitov
2023-04-23  9:04               ` Yauheni Kaliuta
2023-04-23 16:15                 ` Alexei Starovoitov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.