Re: [PATCH bpf-next v2 08/11] libbpf: Add bpf_stream_printk() macro

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

 



On Wed, 28 May 2025 at 08:13, Eduard Zingerman <eddyz87@xxxxxxxxx> wrote:
>
> Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> writes:
>
> > Add a convenience macro to print data to the BPF streams. BPF_STDOUT and
> > BPF_STDERR stream IDs in the vmlinux.h can be passed to the macro to
> > print to the respective streams.
> >
> > Signed-off-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
> > ---
>
> (Sorry if I'm being repetative, could you please extend
>  one of the tests so that output of the bpf_stream_printk
>  is compared with some reference values).
>
> Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>

IDK whether you saw the final selftest patch, that does some output matching.
I was matching arena fault addresses until I dropped the patch.
I will add something to match on the backtrace output as well.

>
> [...]




[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