Re: BPF maps don't work without CONFIG_TRACING/CONFIG_FTRACE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 3, 2022 at 2:40 AM Michael Zimmermann
<sigmaepsilon92@xxxxxxxxx> wrote:
>
> 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?
>

You probably need to provide few more details on what you are trying
to do, what you expect to happen and what's actually happening. As it
is it's hard to provide any useful help.

> Thanks
> Michael



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux