Re: [PATCH bpf-next v10 1/4] bpf: Relax tracing prog recursive attach rules

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

 



> On Thu, Dec 21, 2023 at 11:13:34PM +0100, Jiri Olsa wrote:
> > As as side note, I find it's generally a good idea to reset
> > attach_tracing_prog in bpf_tracing_prog_attach when the tgt_prog switch
> > happens. It has to do both setting it on and off, if the new target is a
> > tracing/not tracing prog. The flag still will be kept during the whole
> > lifetime, unless switched in bpf_tracing_prog_attach -- meaning no
> > changes in bpf_tracing_link_release. If changing the attachment target
> > would be possible, that would be the way to go.
>
> agreed, you can add my ack to the next version with test fix

Great, thanks! Will post the new version with updated tests and the same
attach_tracing_prog implementation in a moment.




[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