Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp434931rwo; Tue, 1 Aug 2023 20:50:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlEwHV/xfuig3VHY1PSzUQizIiUqJURupclTewQzDfO70M994MJSQvk0zwxcGCeTS/ZRr3CA X-Received: by 2002:a05:6a20:9193:b0:137:ff56:e871 with SMTP id v19-20020a056a20919300b00137ff56e871mr15421333pzd.33.1690948253730; Tue, 01 Aug 2023 20:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690948253; cv=none; d=google.com; s=arc-20160816; b=eKt/1rKZtXuEyavlQe+tdPg/OhNPVfy4TZ/dwVB2mfBW+IWbvgk1r7WL8fdeEN1N64 Tg+ubpJ48VeEU2sA6WpKotJVDVmZYmYR1R6WapKgRzdTPhlyeNqTZys3DICeQvSeHR01 jMpLy1N0qHjmFiHnSb2er7CPlVtRekeIVzfY6J4DLENW/DkcEL1vu/LqT0dwsunTH+1k OIPh444kE9Omwbp8iM5PsKyNkQ8imIlJC/BOPIUARY3mRHZILxRcba/qzPnytTXuZ9BC dPw/LCnOYeW17kjPCKuZ62kxcBTi5twbGftVQKfb9roTTs9WH6xXETCL1o/NY7zPpvi3 jksQ== 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=nc1/8CapkUeukJvF5T+y1V9Bi2uHU+YceP4mGrs8N0k=; fh=1FH7AyywgbUpmw44+J9qCtytO3cGFajnW3okKyIUNFI=; b=r+0l8fZcS7ylxhxztfJs2zY/FEhRUw/ao464K/zuiZn7lpl98U+VFKtZfQkUCRY89+ KHU+ZVQb/SiIz53iKnkm8XTFGgQ8B0wh6tq/+KPtr+BAAj7HcRC042e+/maa5kmcsF4Z Qe3cLoE8vJTmosujz+Mz0r6otOx1H9/DjMljyi6QoWeQTpLY0iM+tRzavhPCUeHM40GZ ypU8gLznIzga++UDIA7aYL03EQteFgglscE2+jahW40IaQYPZrfLw/n6v7mwFxjscTPE 9N+6WUeBdtKqpNfT2joYqzK1+n7a0qmBcII9eQAN8dO1+91ebLH/s62sy/eCxviqNuoL Zbhg== 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 z9-20020a170902d54900b001b87b716f87si10225733plf.329.2023.08.01.20.50.42; Tue, 01 Aug 2023 20:50:53 -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 S231803AbjHBCcz (ORCPT + 99 others); Tue, 1 Aug 2023 22:32:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231795AbjHBCcr (ORCPT ); Tue, 1 Aug 2023 22:32:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04E441718; Tue, 1 Aug 2023 19:32:46 -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 96BBD61799; Wed, 2 Aug 2023 02:32:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 453BBC433C7; Wed, 2 Aug 2023 02:32:43 +0000 (UTC) Date: Tue, 1 Aug 2023 22:32:40 -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 , Jiri Olsa , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Mark Rutland , Florent Revest , Peter Zijlstra , Thomas Gleixner Subject: Re: [PATCH v4 3/9] bpf/btf: Add a function to search a member of a struct/union Message-ID: <20230801223240.1df5ea3b@gandalf.local.home> In-Reply-To: References: <169078860386.173706.3091034523220945605.stgit@devnote2> <169078863449.173706.2322042687021909241.stgit@devnote2> <20230801085724.9bb07d2c82e5b6c6a6606848@kernel.org> <20230802000228.158f1bd605e497351611739e@kernel.org> <20230801112036.0d4ee60d@gandalf.local.home> <20230801113240.4e625020@gandalf.local.home> <20230801190920.7a1abfd5@gandalf.local.home> <20230802092146.9bda5e49528e6988ab97899c@kernel.org> <20230801204054.3884688e@rorschach.local.home> <20230801204407.7b284b00@rorschach.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=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 Tue, 1 Aug 2023 19:22:01 -0700 Alexei Starovoitov wrote: > > void ftrace_partial_regs(const struct ftrace_regs *fregs, struct pt_regs regs); > > Copy works, but why did you pick a different layout? I didn't. That code was written by the arm64 maintainers. -- Steve