BPF List
 help / color / mirror / Atom feed
* BPF maps don't work without CONFIG_TRACING/CONFIG_FTRACE
@ 2022-05-03  8:03 Michael Zimmermann
  2022-05-10  0:00 ` Andrii Nakryiko
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Zimmermann @ 2022-05-03  8:03 UTC (permalink / raw)
  To: bpf

Hi,

I'm using a kernel which has TRACING and FTRACE disabled and it looks
like BPF programs are unable to communicate with usespace.
I've reproduced this on aarch64 and x86_64 with both aya-rs's XDP
sample and bcc's "tc_perf_event.py" sample. bcc's sample uses
BPF_PERF_OUTPUT instead of maps though.

Everything seems to run and work correctly, but there's no data being
send to userspace resulting in no log output.
Is that expected or am I running into a weird bug here?

Thanks
Michael

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

end of thread, other threads:[~2022-05-12  9:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-03  8:03 BPF maps don't work without CONFIG_TRACING/CONFIG_FTRACE Michael Zimmermann
2022-05-10  0:00 ` Andrii Nakryiko
2022-05-10  5:12   ` Michael Zimmermann
2022-05-12  3:21     ` Andrii Nakryiko
2022-05-12  4:28       ` Michael Zimmermann
2022-05-12  7:48         ` Toke Høiland-Jørgensen
2022-05-12  8:36           ` Michael Zimmermann
2022-05-12  9:13             ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox