Re: [PATCH bpf-next v3] selftests/bpf: add BPF program dump in veristat

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

 



On Wed, 2025-08-20 at 15:02 -0700, Andrii Nakryiko wrote:

[...]

> What's the concern with popen()? That we have to copy one stream into another?

No concern, just see an additional loop as unnecessary, this does not
matter much.

> 
> I didn't like (instinctively) the implicitness of system() adding
> something to veristat's output, and you just proved that instinct
> correct with that fflush()... ;)

You asked a question off-list on Tuesday whether system() and popen()
behave the same, here is an answer (both are wrappers for 'sh -c').

[...]





[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