Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5209164rwb; Mon, 31 Jul 2023 21:16:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFmDuiigvOs0JGAKz24ceMfbgeuqPh6mEvm21WLwL48eNhq0DFhd7uGoslBvf0AaeAfa3hz X-Received: by 2002:a05:6a21:6d9a:b0:135:2b01:3737 with SMTP id wl26-20020a056a216d9a00b001352b013737mr13691797pzb.38.1690863414620; Mon, 31 Jul 2023 21:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690863414; cv=none; d=google.com; s=arc-20160816; b=cbcAdjVWJfaKDmCHXdQOktx8uGHToOwk34UzdmwZsZr+FbJKIzBYwMTR5vdVwraNUw rJ5ZNuq+1KLKroEhjui4uGWAPkwwQKZA82v4jap88knNbLr8anuKyzCBS1ieT200HQFj 9EQRwAGfEbYlbYAM0m6PTDsg5gIIqdf4QGdl934VdC9IQnTiduqEoGbJl7BAlxzWTnxM pxRep7wPrUxSEuhMHtBgvKloD9c0kB2CZJv+wcDaFyYUrTRfVrg/F0OQPyzB3t2eQGNK 1nMpwpACsHB8dCmkJeuiTfGwP57bmWFmwC0BHkR0VLCU1HQsWWm0RAZaF34deBM2Dzy1 A86Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=aEFUKD1oOLxuyQDAxx7RR3dAdD2sHSuaqVKiyetEloM=; fh=2U/UANS8QpfJQWURqouHDMxXIQDM/vnPZJHmWZorjQg=; b=qpSePKgqj7ZnkDpgRHCiOgJXRi8fzEiURlvGVy+MSnzGI8pCfqkxTJJ0LpOew58ZI3 fBSwk+9iDgkSQIKMkC4rTKs7e4s4uzzajHbAMX9emfttmPlIgxLD7esejoZQ1q0FsA5h aVvpzcFuxDs0uIWRp9ylTCqLYqvbIyj1NLorFBDQHBzSNdAfqs9aTZbDeAtxIb20mRjw y+MNwmmRxHBs3GtHU7RXFsUum1bQyy5RUjh2LdyKFU42cNSkkljOxS2V4o4N7XEWGt5Y Vws73LPDfcIEY8+ltfRvrchtS8s2Pu9Prk7sCEO2CiN53qdxqOtdVjzW9rc7txNepl0e K26w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GcK+h3Aj; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020a170903019000b001b8b2cb7359si8346257plg.627.2023.07.31.21.16.42; Mon, 31 Jul 2023 21:16:54 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GcK+h3Aj; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbjHACYk (ORCPT + 99 others); Mon, 31 Jul 2023 22:24:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjHACYj (ORCPT ); Mon, 31 Jul 2023 22:24:39 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D9410DD; Mon, 31 Jul 2023 19:24:38 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2b9f0b7af65so18920671fa.1; Mon, 31 Jul 2023 19:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690856677; x=1691461477; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=aEFUKD1oOLxuyQDAxx7RR3dAdD2sHSuaqVKiyetEloM=; b=GcK+h3AjyXR7hVkxk3FIQ3Yawy76QVp0nMle6Dvzcp+1LoiywylOnsCB4zHcbweJkb uk6LBWKFjgYxeTQBmALucKLbvIijuYKEpdAIbDol3OMsnATWdH3QXLRGu59YOmxu/GIR U2hG1Mg/IgZMegtUzBAhK3dUI41P9p/agZsrAGGRo67UMEICDZb5fvQSEo/oZK7S7q5e VVrap1OSC5gDL3tOubh25U7Ci+0QYS+f1fFv/5wB5BjwszZRFcqehOsfmuHXISa5FYfa ciCLO019ebPGKWw9d24heHZLfRDZ/ynF1lF5RZlT9+oUCTya2aQ+mF5LGGcJkLzd3gqZ cEzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690856677; x=1691461477; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aEFUKD1oOLxuyQDAxx7RR3dAdD2sHSuaqVKiyetEloM=; b=IarF7BdV0SE2hIz+3dZOaI+rrPcZCcZNGWCT3/nvTBk2A6HlHfL4JF4opnurC5+FTo N0QiKHHdxlsKmB1Vt53hUCkTiuF5+BmFcmtci/qbs8eXhYNfoK7dXlOf06cFhYfYBtnH dPaMLgekeOYz2lVXIompBkfOHp7OW++hHn++KG2zP9q7Hc2T0HXiCI1mSb5ao6xuiNSq J96AgnAxq+0z/qPA3yn9W/07Fs/PzmAQp2U4SLHbzXZnr2rRHMdQsIBa2nzbDwAOsu/4 dDksBYtCY/rUALUuE1rxSKaHKlB5NPxww8pgi1BEaxTJgxIxtsTAIsy8Wo0iOgAQaHmq ryVg== X-Gm-Message-State: ABy/qLYuV0qA0ad3FFz1bVEWqhJ3SIuyaCpeA2Lk9Zc6QkVDfneBxlBM t+M4hjZ4ts2yZRpllQRv0Lx0t8CoUf9MNPpQyPY= X-Received: by 2002:a2e:87cb:0:b0:2b5:9d78:213e with SMTP id v11-20020a2e87cb000000b002b59d78213emr1286950ljj.22.1690856676546; Mon, 31 Jul 2023 19:24:36 -0700 (PDT) MIME-Version: 1.0 References: <169078860386.173706.3091034523220945605.stgit@devnote2> <169078863449.173706.2322042687021909241.stgit@devnote2> <20230731211527.3bde484d@gandalf.local.home> In-Reply-To: <20230731211527.3bde484d@gandalf.local.home> From: Alexei Starovoitov Date: Mon, 31 Jul 2023 19:24:25 -0700 Message-ID: Subject: Re: [PATCH v4 3/9] bpf/btf: Add a function to search a member of a struct/union To: Steven Rostedt Cc: "Masami Hiramatsu (Google)" , linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,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, Jul 31, 2023 at 6:15=E2=80=AFPM 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 t= o > 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 fo= r > 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 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.