Re: [PATCH v4 bpf-next 17/19] selftests/bpf: add tests to validate log_true_size feature

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

 



On Fri, Apr 7, 2023 at 12:43 AM Andrii Nakryiko <andrii@xxxxxxxxxx> wrote:
>
> Add additional test cases validating that log_true_size is consistent
> between fixed and rotating log modes, and that log_true_size can be
> used *exactly* without causing -ENOSPC, while using just 1 byte shorter
> log buffer would cause -ENOSPC.
>
> Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>

Great idea to test the size - 1 case!

Acked-by: Lorenz Bauer <lmb@xxxxxxxxxxxxx>




[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