Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp860258rbb; Sun, 25 Feb 2024 07:15:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVLXS9Jan5tpupOjSYJFlYNkLe9WeMaHCZLa7E2iRmlqHAeeHhk29ihKf2DbnD9GcThERoKw2OqXR9odS3e+u56By5SMpa+vXl57+Rc3A== X-Google-Smtp-Source: AGHT+IHZC7kS0D5Bvm/p413wi1d/RkOaVvEHfXMbo1Dq8J1SpIs9WnXWzYNg9GyuSvO+lCdCeVvJ X-Received: by 2002:a05:6512:556:b0:512:b00f:a566 with SMTP id h22-20020a056512055600b00512b00fa566mr2636244lfl.29.1708874147210; Sun, 25 Feb 2024 07:15:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708874147; cv=pass; d=google.com; s=arc-20160816; b=AxoLC1id1vxntAtZkYM0U9vofP7mB1lZ4LgiFyLKNYZ98YTYgtTVVQJnBYkMCF0USW G4bOQ0vbg/pkOWKQ0cq+4ue6s7SCXdMfZO5z38guY2/X+hTAFPKIw5dWhppXJAQQArRv JVrhXOZFWg1FtImDjOSDFTgB/iMAEhMNOHM2DuP0+nY0aW+aP/93FFti90r30K/IVvAM miTPWxKRirYm1kFgosYxnLABlkEv+QG7GTi4JDeFZic6TpUP/hUM1loAwzlDIRGaZtg4 htGq31FkaSrsrWixoz0o8M3L17s6M/R6xdnj2tUIUl1PzmznU2FCTClNKKphkIxkHPka zSsw== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80130-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fx16-20020a170906b75000b00a3f0d98c123si1356730ejb.560.2024.02.25.07.15.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 07:15:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80130-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80130-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 EEE3B1F21736 for ; Sun, 25 Feb 2024 15:15:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 936FD14AB0; Sun, 25 Feb 2024 15:15:32 +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 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 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)