Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp546001lqh; Tue, 7 May 2024 07:09:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWs/WlBLubVSu6teBFrvzxyk+qeCn+yICEzmAzMMFbjCML6Af9g5qOTVYQL5GXyoPBFGIPuTbqx6DcZMpiHcaqAvJetFTiVS9RNcLlhrA== X-Google-Smtp-Source: AGHT+IHyezZdGG5pDO2Yg6xu2Xzg8XlvVgKJwIxr6McLlqwy/nWSHungE7QC9cOjJPMWg04f69f3 X-Received: by 2002:a17:906:3c49:b0:a59:a9c0:57e6 with SMTP id i9-20020a1709063c4900b00a59a9c057e6mr8625369ejg.75.1715090939929; Tue, 07 May 2024 07:08:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715090939; cv=pass; d=google.com; s=arc-20160816; b=EhyeUw4hm2k9v0UZz5izYyAl92LUdYMUDETsOQWDI/w9mr/heglWQFD8nQuvDAZUgM KJejOrsQjKLmyo2raJZEApFV81Q8Ce8nJN6i2Qta2wSRi6kNNdFXohsSCYtMaHzZ5F92 nB9cJM3KOZniXWuJpDuUgDJnAfsTtQQoXv77Vyk5h/hULoDG0lm9qzQ9LU3naZlq0Obu txd9OZAXF3ID1yMrCQMYs5guLJ/7b9wGCuk1IvhiIp+wqFELpGruXZ/99mTRur9HeRfM PcAgKjtC4Qk584Nofs9kFTVrPdAfTQNJzXZl+lMHzUvj8BlCeVROOrn9MsyDCmAd52gi R5yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=FdF43B9BEm5uNW32ardrG7BnhuVjiGaS1DgLiR9ucJc=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=M/pnzErALQmaH8bWvL42N6HEghsj4MoAlPM+GE1m6etnnWs7Nj1QdgWHdFmWJXWXdo Fp/5Z0YGkos7PlxubHjjTXor6zK5O2NBm9SYdm2fEq4J9iwGmcxB8Que9Ld4o88e3LXM Pvd0+2zvL5ObUFmnaK2j74bkApwK3QRvkCmeJStYlPPfFxZq8SAVFGazXZkVRYi9EhEm wk/3Cuv6Y/OPD4gea5HsiupngZ4fd8Mg7jRMvnBb9eaQT+/6qKH9EGYsOpRGW7KAldcw EQ3mt5w/sslnrOmIjtE87cxAYftKTuhO1yA3kFo8ZZytPbWK6GzVxk9zKTj+fcg5P3FD +MHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YFbbLkRV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171507-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171507-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id du6-20020a17090772c600b00a59ae816ca0si4228585ejc.1032.2024.05.07.07.08.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 07:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171507-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YFbbLkRV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171507-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171507-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A4AE01F21FEF for ; Tue, 7 May 2024 14:08:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFE2215FA6D; Tue, 7 May 2024 14:08:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YFbbLkRV" 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 C335E15F314; Tue, 7 May 2024 14:08:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715090910; cv=none; b=HpHmoP/MItmrDXRqEd/yzn+0PvXuAZDYwVPU6NSgSZL7GP8YTpcq1RRU3A3JKboxgMYyDz+XRFh8jd0UTpC12cSE7CqDkiZD3mPrt3bZRX1LSAO9OLnKRgfRThPpKbtH2x6UGacpN1UylaW3FktGfvu7kxaWfvJUKVV8WA0CDHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715090910; c=relaxed/simple; bh=mG/unaVRY8IXRkgGUTAad+KiTdZfMmvpwe0Cqb6mEvI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=B275f0Xqvh9es6Y2LDoBk7HuPJok+Mnl0kEBRocWTiqM7MkNi1LXuSxTe58aYNE++8OCCqQXhNPc36KpXdb/1L7+4+TuY9sO3hXp6kl+Ti+fW+UXs0O5OTNCXQN2yJioYD5f20jry2t3hsupLoQbQhpC9YT3aGzhaSF6Q/w1J6M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YFbbLkRV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CFBEC4AF63; Tue, 7 May 2024 14:08:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715090910; bh=mG/unaVRY8IXRkgGUTAad+KiTdZfMmvpwe0Cqb6mEvI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YFbbLkRVa3KYCIQEksFtIZH9Fazy3XzjeSTf7VjbxDoXy//ViHqz3QgT0pMHJBh9W ZfR0X460feBC6lgvtPhUxTpqmqZXmONuKmGre9WJap32AQaNXdmapYmSMIXP5rZABa NoOZA9IiBtrlKXWEB5XA8Rmi0s9U7z8uDpmycGh+r0XKZhl/DZY5HnXs7l3BckKDkI xP08Tyt8052WM14b9c9/Z8dozieseyjig2X+hiZMqozOi/UMXj58QyEvrkC3gC/UZC icguZa71D7u6/OE/ZkgHB7PXiiHXPeK1PUvUXitq5T4NB2/0f98VqZdIWLaV49/+86 5Y83Z4sgmaKRw== From: "Masami Hiramatsu (Google)" To: Alexei Starovoitov , Steven Rostedt , Florent Revest Cc: 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 , Peter Zijlstra , Thomas Gleixner , Guo Ren Subject: [PATCH v10 02/36] tracing: Rename ftrace_regs_return_value to ftrace_regs_get_return_value Date: Tue, 7 May 2024 23:08:24 +0900 Message-Id: <171509090412.162236.10331112957585186373.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <171509088006.162236.7227326999861366050.stgit@devnote2> References: <171509088006.162236.7227326999861366050.stgit@devnote2> User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit From: Masami Hiramatsu (Google) Rename ftrace_regs_return_value to ftrace_regs_get_return_value as same as other ftrace_regs_get/set_* APIs. Signed-off-by: Masami Hiramatsu (Google) Acked-by: Mark Rutland --- Changes in v6: - Moved to top of the series. Changes in v3: - Newly added. --- arch/loongarch/include/asm/ftrace.h | 2 +- arch/powerpc/include/asm/ftrace.h | 2 +- arch/s390/include/asm/ftrace.h | 2 +- arch/x86/include/asm/ftrace.h | 2 +- include/linux/ftrace.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/loongarch/include/asm/ftrace.h b/arch/loongarch/include/asm/ftrace.h index de891c2c83d4..b43acfc5776c 100644 --- a/arch/loongarch/include/asm/ftrace.h +++ b/arch/loongarch/include/asm/ftrace.h @@ -70,7 +70,7 @@ ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, unsigned long ip) regs_get_kernel_argument(&(fregs)->regs, n) #define ftrace_regs_get_stack_pointer(fregs) \ kernel_stack_pointer(&(fregs)->regs) -#define ftrace_regs_return_value(fregs) \ +#define ftrace_regs_get_return_value(fregs) \ regs_return_value(&(fregs)->regs) #define ftrace_regs_set_return_value(fregs, ret) \ regs_set_return_value(&(fregs)->regs, ret) diff --git a/arch/powerpc/include/asm/ftrace.h b/arch/powerpc/include/asm/ftrace.h index 107fc5a48456..cfec6c5a47d0 100644 --- a/arch/powerpc/include/asm/ftrace.h +++ b/arch/powerpc/include/asm/ftrace.h @@ -61,7 +61,7 @@ ftrace_regs_get_instruction_pointer(struct ftrace_regs *fregs) regs_get_kernel_argument(&(fregs)->regs, n) #define ftrace_regs_get_stack_pointer(fregs) \ kernel_stack_pointer(&(fregs)->regs) -#define ftrace_regs_return_value(fregs) \ +#define ftrace_regs_get_return_value(fregs) \ regs_return_value(&(fregs)->regs) #define ftrace_regs_set_return_value(fregs, ret) \ regs_set_return_value(&(fregs)->regs, ret) diff --git a/arch/s390/include/asm/ftrace.h b/arch/s390/include/asm/ftrace.h index 621f23d5ae30..1912b598d1b8 100644 --- a/arch/s390/include/asm/ftrace.h +++ b/arch/s390/include/asm/ftrace.h @@ -88,7 +88,7 @@ ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, regs_get_kernel_argument(&(fregs)->regs, n) #define ftrace_regs_get_stack_pointer(fregs) \ kernel_stack_pointer(&(fregs)->regs) -#define ftrace_regs_return_value(fregs) \ +#define ftrace_regs_get_return_value(fregs) \ regs_return_value(&(fregs)->regs) #define ftrace_regs_set_return_value(fregs, ret) \ regs_set_return_value(&(fregs)->regs, ret) diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h index 897cf02c20b1..cf88cc8cc74d 100644 --- a/arch/x86/include/asm/ftrace.h +++ b/arch/x86/include/asm/ftrace.h @@ -58,7 +58,7 @@ arch_ftrace_get_regs(struct ftrace_regs *fregs) regs_get_kernel_argument(&(fregs)->regs, n) #define ftrace_regs_get_stack_pointer(fregs) \ kernel_stack_pointer(&(fregs)->regs) -#define ftrace_regs_return_value(fregs) \ +#define ftrace_regs_get_return_value(fregs) \ regs_return_value(&(fregs)->regs) #define ftrace_regs_set_return_value(fregs, ret) \ regs_set_return_value(&(fregs)->regs, ret) diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index b81f1afa82a1..d5df5f8fc35a 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -184,7 +184,7 @@ static __always_inline bool ftrace_regs_has_args(struct ftrace_regs *fregs) regs_get_kernel_argument(ftrace_get_regs(fregs), n) #define ftrace_regs_get_stack_pointer(fregs) \ kernel_stack_pointer(ftrace_get_regs(fregs)) -#define ftrace_regs_return_value(fregs) \ +#define ftrace_regs_get_return_value(fregs) \ regs_return_value(ftrace_get_regs(fregs)) #define ftrace_regs_set_return_value(fregs, ret) \ regs_set_return_value(ftrace_get_regs(fregs), ret)