Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BE8E1E503 for ; Tue, 1 Aug 2023 13:35:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B36E6C433C8; Tue, 1 Aug 2023 13:35:29 +0000 (UTC) Date: Tue, 1 Aug 2023 09:35:26 -0400 From: Steven Rostedt To: Alexei Starovoitov Cc: "Masami Hiramatsu (Google)" , linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Linus Torvalds Subject: Re: [PATCH v4 3/9] bpf/btf: Add a function to search a member of a struct/union Message-ID: <20230801093527.369e046e@gandalf.local.home> In-Reply-To: References: <169078860386.173706.3091034523220945605.stgit@devnote2> <169078863449.173706.2322042687021909241.stgit@devnote2> <20230731211527.3bde484d@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 31 Jul 2023 19:24:25 -0700 Alexei Starovoitov wrote: > On Mon, Jul 31, 2023 at 6:15=E2=80=AFPM Steven Rostedt > wrote: > > > > On Mon, 31 Jul 2023 14:59:47 -0700 > > Alexei Starovoitov wrote: > > =20 > > > Assuming that is addressed. How do we merge the series? > > > The first 3 patches have serious conflicts with bpf trees. > > > > > > Maybe send the first 3 with extra selftest for above recursion > > > targeting bpf-next then we can have a merge commit that Steven can > > > pull into tracing? =20 > > > > Would it be possible to do this by basing it off of one of Linus's tags, > > and doing the merge and conflict resolution in your tree before it gets > > to Linus? > > > > That way we can pull in that clean branch without having to pull in > > anything else from BPF. I believe Linus prefers this over having tracing > > having extra changes from BPF that are not yet in his tree. We only need > > these particular changes, we shouldn't be pulling in anything specific > > for BPF, as I believe that will cause issues on Linus's side. =20 >=20 > We can try, but I suspect git tricks won't do it. > Masami's changes depend on patches for kernel/bpf/btf.c that > are already in bpf-next, so git would have to follow all commits You mean other patches that Masami has sent are in the bpf tree already and these are on top of them? -- Steve > that touch this file. I don't think git is smart enough to > thread the needle and split the commit into files. If one commit touches > btf.c and something else that whole commit becomes a dependency > that pulls another commit with all files touched by > the previous commit and so on. > tbh for this set, the easiest for everyone, is to land the whole thing > through bpf-next, since there are no conflicts on fprobe side.