Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5840582rwb; Tue, 1 Aug 2023 08:35:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlFrcyIp4i58R2UX4ZBEPHqVC0A08+706cx59jV+SK+ls3ktoqLr3MCD+ED1YfJra0Lmcduv X-Received: by 2002:a17:906:7691:b0:994:536c:ab45 with SMTP id o17-20020a170906769100b00994536cab45mr2718751ejm.50.1690904108093; Tue, 01 Aug 2023 08:35:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690904108; cv=none; d=google.com; s=arc-20160816; b=g3mCKvA6T0KLqdL9wtqUeeBjhJz5J8nqUNTOPUfsnjYyo95Hrxw/C6X1uNVBF5FyZS t3n29Q1D5xJwETN1ofLoaLz9xssdy/jbQgaUciClAGtjJN4ycvJjXzkj2fGTGV8XTPJO c9nqL4AQOCQHaIExe4Um5GeRZfmq69Aw2pvgKMSzHZ6KJOW8TW0tnRXrjEYstfUCfnCE iDPLEcQQjSrVu6Itr9FIYRFzWWAyrHExcqxP0bGtV9gsHrAAI+YP4Myl8OPRYsfxZbog nNJRIFejfVoqKC7sw/VifcenPvnXiBM0+0ciGdluWS4iP1bO+vVrVKOLk3IubCcmniCw adaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=+xAjQjzj3PTDUXm5CHrgxlKS3YeZ11peI+0djKNekYY=; fh=z4naGDl+JufTMJrmjDSFmCqAh8fjYgMonaGcJpXXq6w=; b=TsPdfWZCWVHStQmu1YvtYJezA1+52m5msZamkbz6sjWcTPW16pYNMiIt2Ax9JPZ6ws xLu95PqZAgtgq3ve3HaL1XDmVez9pFOksonfSG6YbD4f/qk5+HCjSlNYqC2letEhh1un jeUTSxjLABXybf42EfVPi9tN0VG5KXu21lgJFTCJynZJQJB8ss/LwCxhlpsngtD3xHEo AfMXanFAoIhJPShomWyK4MDMhE4RU5tTsNnRzF1cXga/3vZWb7NdE0D281Wm0pz0CpXm omzrf8b0kSyqoX4qPs5hfoSX7XBo0nmGuAPhMvMBR4WM2gE5TMTBsbZ4TDoYLkzTeB3P YBjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a170906524d00b00993cc1242ccsi8532221ejm.623.2023.08.01.08.34.20; Tue, 01 Aug 2023 08:35:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234360AbjHANfl convert rfc822-to-8bit (ORCPT + 99 others); Tue, 1 Aug 2023 09:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbjHANfj (ORCPT ); Tue, 1 Aug 2023 09:35:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F9642106; Tue, 1 Aug 2023 06:35:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 31E0F61592; Tue, 1 Aug 2023 13:35:31 +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) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 31 Jul 2023 19:24:25 -0700 Alexei Starovoitov wrote: > On Mon, Jul 31, 2023 at 6:15 PM Steven Rostedt > wrote: > > > > On Mon, 31 Jul 2023 14:59:47 -0700 > > Alexei Starovoitov wrote: > > > > > 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? > > > > 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. > > 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.