From patchwork Sun Feb 25 15:15:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 206043 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1619683dyb; Sun, 25 Feb 2024 07:15:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWNgvEW0L+wFKILNCVlgd+Bnnnzhfm2D4PsVHCnpKfMBkaz4b9TEHO7w9GEapuX9KDUzKhm/+uuNPtimunfNL8JHr0MQA== X-Google-Smtp-Source: AGHT+IGZgSicHXlbFxCyZzeO9xYhOVjqRmOIhw5l3Jhik5ITQw9HlnjZFbMtSRnHepnSYaLP/9Bk X-Received: by 2002:a05:6214:401c:b0:68f:a78f:bf1d with SMTP id kd28-20020a056214401c00b0068fa78fbf1dmr6996428qvb.39.1708874153258; Sun, 25 Feb 2024 07:15:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708874153; cv=pass; d=google.com; s=arc-20160816; b=uLhpxSTOPCj2sYf0XN+7cl45dtObXPV+rzoTCZ3tuifWkM0pR/c4eJqlYxEOp09Vtz UVpC6Jx17qlfzQ40hDcQsDqlZjIUNTyRDser/9rfgTbtnHhyrvgOk4b1KGllNJ8SA1rm FD54wfDJD2oczbPJYiJ3BPmUUipxxxRqAKHeauhB7Btrgt8/3ACrK6/T413b1eXCVvez Dz2Rt+B3jId+D9pzIYcBkKZ4B5TtYlpFeByhY3++y0dBBBH7IgTI1sglOua7CsnnjO8A 9ps+XyttpoJYHXN7gFcQDBacitRWVrM1PXW0AIaYaIMroqFrg3j1TMJfTTYDXgmkp/qY OdUw== 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=nFj3oGHTUVSCRmPr3ZQ/kGzRo141Iwf+hZWwylwbhpY=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=fqkxLnWCogr4Nk9MmQagxeJcfbc/rAa6dhUe8KXUaJrfiRBbOgSG2YWB2V2CPxmiJe QTips7y9mSKdVLK9Fg/mhnHlgH0+cXcytB/RfBnJ08Ghm3U+2WHb5u0x6Lsyp6Ve+8e2 o+KztCegNbVMfMovsmNDLODGHR20vLV5oziY65XzcchRu2ZqNWY5Q32piVrH/8b633Fq jgIf8XWbVtJu1gDpobuZlbSTVVmLIV7QCsLjJ9J4uUcTIo2AoU1SHRh3UJ7TB36Ehnfm 0W7jWaH4WeknlcAd3DvfW4IsnlWm5njYxlOhXZVEZyRoqkNX7B6/2ENJtGEI/DlnRB3U Zqbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iFmcyObw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80130-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80130-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p14-20020ad45f4e000000b0068f477e5e59si3150744qvg.600.2024.02.25.07.15.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 07:15:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80130-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iFmcyObw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80130-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80130-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 108101C20920 for ; Sun, 25 Feb 2024 15:15:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6FA7168DA; Sun, 25 Feb 2024 15:15:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iFmcyObw" 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 AB71C15E89; Sun, 25 Feb 2024 15:15:31 +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=1708874131; cv=none; b=pxXdGEd4ixe91l+68FUq46BbF56yKjMabPldeJ3DxIcFi2p60G0FAE403yU2VRVmRaHffn4ukuwiXJZrX3vQ1QbLTdb4vqu/jTClajilKMmGuvapcAAuKzmGeylzXBmI8YUiYHdMKv0O0bzbKeFAn25UCUD/FY/08V2Z/dDhrHw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708874131; c=relaxed/simple; bh=r8dik4TbVVoqmCktPN5yl355iEZNp0JZ3yNT9goYFEk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=l6qxWX4b9b4HF5uz1dIu//ol/EN8cfoLu83GmSu/z2eK2Kg0TDeQgdmtaCuwv6Qugb2u5Unanduj0H76rjbatlKd26/NjMYRulmQ0rEKJLgRPIvH1okEQNpciTo8ZLoLTHZNPTigkf8k62mQdjPJ07kGvQz+gdOJaJMSoYl9O54= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iFmcyObw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 271F2C433C7; Sun, 25 Feb 2024 15:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708874131; bh=r8dik4TbVVoqmCktPN5yl355iEZNp0JZ3yNT9goYFEk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iFmcyObw8eK0qq0gB4kbbO8G5tVSsR7t7MziHcB8uBw5PGdqUxk1n96IxP4sH5iYK lgPlFO9ftBiHn1CsNSXKNykaKUn13l2VJ/WNqRacJ1n2wGUU/YtboulgMqwPL+CSzT sxz3MNTAKMmoWondmpEZPVxl75E2FVjC3EoEYE+jJPZEvSJhBzXGb2XVpJo8ccKYiT IaWFPpU2CXOS8lxTKDGWEgoRz23b6fYkCJAVeqnDmlB58qmpYoZWFY7s5pOawNHywY 03bqpMl3g/3bNe3u1gjX9eRpcm21HweNVuzWkHRmcmpLVI0J7dxMiww5zFGd252WbX os/AK/PieipNQ== 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 v8 02/35] tracing: Rename ftrace_regs_return_value to ftrace_regs_get_return_value Date: Mon, 26 Feb 2024 00:15:25 +0900 Message-Id: <170887412580.564249.4895545939926660859.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170887410337.564249.6360118840946697039.stgit@devnote2> References: <170887410337.564249.6360118840946697039.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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791884423884228434 X-GMAIL-MSGID: 1791884423884228434 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 1ebd2ca97f12..ce2b65cd4607 100644 --- a/arch/powerpc/include/asm/ftrace.h +++ b/arch/powerpc/include/asm/ftrace.h @@ -69,7 +69,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 5a82b08f03cd..01e775c98425 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 8b48fc621ea0..39ac1f3e8041 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)