Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp397099iob; Fri, 13 May 2022 04:15:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr9kOieCjUIbpOlU08L50xoLgV+56vXrICZZLMLD/q8xGmI2DmfsQ9qsFfbLQ7Ni7H+wa1 X-Received: by 2002:a17:907:7f87:b0:6f5:1c31:6b6 with SMTP id qk7-20020a1709077f8700b006f51c3106b6mr3716043ejc.248.1652440510448; Fri, 13 May 2022 04:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652440510; cv=none; d=google.com; s=arc-20160816; b=ZGKwnn+YfLO/2rJQsz3nL9BQS3kS+JMETskdy8VNSw3t0yNS7kAINcrYbj+6QUnxdt izSIBj011iX2xegYluNitNiZcLeJhJNKu080pR80/qCoe4WPtJAD0/PBN4lP7s8MFEiF 7hjHAaafqJuJcLjMVUJAvvwL9sK50mKKY3GJAaODa91bObAGc69Fpe8BTq4p05dnjzHa cXn4CKV2vY20YzWK+ZgaHKjFvNNHCctnEtztqv3oRkzUk12iNwPt6538+lljV76yGRYS xtlsrh0G6gPpJj2baq+mT6is+wfU5XJBHkf/MHqRONQA+f8MIl4DPsfLb4ZNTWiRysPF nUsA== 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=TY08yqLujpkAeMv0rkCMg0sghA21lbUr2Jx0uS0xwag=; b=PAiZ1mTs0dnhPIzgNpurtIsHlqFXIUVq0x0RwqK5wIJ+o7y2UWT8oijaRaOI5kcAVH ByFSVptWGmKfGQvqCdwWqs3TTzcM+af/vdmA/n/3VMOvn+spAnglpTJY6xZHQat1CCL6 GTrWZRLfC//jBrQJIcWbJyWvI4ahYc8ptwygqFowJd7UjkkCQsZQYTzYFpuqthZjI6Gg HE7CqCtbD2khD2WXDQDXJlFTz3UO9i2oGFtb5Ruz15h/Z6Exze+c4zMfgyKyP+gb/7y4 qYeozDAlCI2bhELruXSVpuNPkPfnL/KF5R2013DwgxkWCb0ed76ua7bAwAos7ZjemS7Y cH1g== 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 dr2-20020a170907720200b006e06d4769f3si1731461ejc.692.2022.05.13.04.14.44; Fri, 13 May 2022 04:15:10 -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 S1354652AbiELNuS (ORCPT + 99 others); Thu, 12 May 2022 09:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354649AbiELNuR (ORCPT ); Thu, 12 May 2022 09:50:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7255C18C5BD for ; Thu, 12 May 2022 06:50:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 01902B82834 for ; Thu, 12 May 2022 13:50:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49A66C385B8; Thu, 12 May 2022 13:50:12 +0000 (UTC) Date: Thu, 12 May 2022 09:50:10 -0400 From: Steven Rostedt To: Masami Hiramatsu Cc: Mark Rutland , Wang ShaoBo , cj.chengjian@huawei.com, huawei.libin@huawei.com, xiexiuqi@huawei.com, liwei391@huawei.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will@kernel.org, zengshun.wu@outlook.com, Jiri Olsa Subject: Re: [RFC PATCH -next v2 3/4] arm64/ftrace: support dynamically allocated trampolines Message-ID: <20220512095010.7b34fc78@gandalf.local.home> In-Reply-To: <20220512210231.f9178a98f20a37981b1e89e3@kernel.org> References: <20220421100639.03c0d123@gandalf.local.home> <20220421114201.21228eeb@gandalf.local.home> <20220421130648.56b21951@gandalf.local.home> <20220422114541.34d71ad9@gandalf.local.home> <20220426174749.b5372c5769af7bf901649a05@kernel.org> <20220505121538.04773ac98e2a8ba17f675d39@kernel.org> <20220509142203.6c4f2913@gandalf.local.home> <20220510181012.d5cba23a2547f14d14f016b9@kernel.org> <20220510104446.6d23b596@gandalf.local.home> <20220511233450.40136cdf6a53eb32cd825be8@kernel.org> <20220511111207.25d1a693@gandalf.local.home> <20220512210231.f9178a98f20a37981b1e89e3@kernel.org> X-Mailer: Claws Mail 3.17.8 (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 Thu, 12 May 2022 21:02:31 +0900 Masami Hiramatsu wrote: > BTW, "what register is saved" can be determined statically, thus I think > we just need the offset for checking (for fprobe usecase, since it will > set the ftrace_ops flag by itself.) I'm not against that API, but I guess it would be useful to see how it would be used. -- Steve