Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3097386rdb; Tue, 6 Feb 2024 07:10:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpYVdwsJSoppe2AWq+sJLuO0qOSQTN7XpG9TIZ7Fs1qKZffqm5IdBSvAC+YvUX4bejDLwt X-Received: by 2002:a05:6a21:2d08:b0:19e:2d04:d783 with SMTP id tw8-20020a056a212d0800b0019e2d04d783mr2175417pzb.4.1707232202770; Tue, 06 Feb 2024 07:10:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707232202; cv=pass; d=google.com; s=arc-20160816; b=QaTapoTp7Ry55N4dAeRlD3LRMazZMdelhsRLozM/g3W4SltGaVCrv93JtOmwUDCAGX URkhkoIUJtGcp5ahK89mlgPIu1e38VbtXJo2TKtlaJdGTO0qiJCgwIwSMkKf5Sm3mBG2 /a9WnQ0DwoLTgaB97DkhoYbpoT66k6FFQTCp4pu82zisfFdbwiyGuAnzIEH2pVRabuVq SOaZfTqXjcYjlD1YLfK7Dx3A6onAhQitwnaq3qyPzRmvDzgAXJDgGLKIqtq0Qrhe0fYH OrjjB3n6A3eiUXcSzplDHe0Z/7lkHfGqk+n83Nz7QWWdPeLqRPGrPfpBbdEfGUtVaIrH yhng== 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=ns2D864S6BPHa7E06iPdo1K2lV5pabeeVC+x/s+a/dQ=; b=bg5a5lFDvf/gVq48/L8+Jop5uF6pXJEGOtgwVL3xnMGisxGXQ3OENzQMSm8wz8FVyZ P4ToKGQZpiB5T03e+UbKGt6grQScFHhkC8gX4q4eouw2KSFXlKc2DW34MKuDMHrJwZLI whMkVQ6tF6S4/Clvwmvf3sD0zK0Z95mVpwTWpao0Rc9tiLU1IfGNsYJNfznNexxg1jDB XodaRP+QeaNYXa+TGK7BnIFQxkR+5I97ls5JW+5rDIoJU2Ts5t6WAfIsY5dyKyp/FfnD Gky9HBb1/gDzgMr6ckyYxj605t8HKNCBNMjfiCFukdqfV0e4yHHC5cFyDyQkO9V4mvJV YbdA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SnGrcVj0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-55177-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUSTTZZEdy+2bH3+ymjtEmls5IyMNGfqCFWLUgwycHjrHF8OAxCZ8XS+Xk/Bnbu/mdJ1aavHzw15I0OW0dKxwN2SirYi7EFZfRehEh4Lg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 36-20020a630b24000000b005d8e36d9e11si1840919pgl.149.2024.02.06.07.10.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 07:10:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55177-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SnGrcVj0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-55177-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55177-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5B533288E54 for ; Tue, 6 Feb 2024 15:08:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E7E1133412; Tue, 6 Feb 2024 15:08:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SnGrcVj0" 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 389DB131E49; Tue, 6 Feb 2024 15:08:08 +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=1707232089; cv=none; b=g7hYzjwqkoXHYsn4oUprwLyaUyTaYaFycPXbVjtFfut64+GUmI2mupq0pYwFaZIdIuqDAtOgoFLDChfpe73xHscBm7dcd1BcVFAiCIlwkxtrINH6I5B/JzQRxuycHjaWShErk3hIxFQoV7qly8Wty2mHMeTTV04iLLhk3XLucIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707232089; c=relaxed/simple; bh=r8dik4TbVVoqmCktPN5yl355iEZNp0JZ3yNT9goYFEk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=OUMJtGIBB4xgdHW6SOFr0aA0VH/R+oUmBGS3E8DxPq6Iw9hqJXpAFye+2yVzQ/YkL0WhiW9YTnuGxonmIvCq96I2e4J8u0Xid/7ZPCMLkIssyDa41s/ijkhF/AOKmF+E2v+a4TevXxVpz9gsygRdsiIEEBg2zmTCKIrGXnCEVhQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SnGrcVj0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2088C433F1; Tue, 6 Feb 2024 15:08:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707232088; bh=r8dik4TbVVoqmCktPN5yl355iEZNp0JZ3yNT9goYFEk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SnGrcVj0e61rmZKiC1vaToP7QwaUys7+8Esyp4/bKbCgiqcxiR8kutJeATmgvu6xD jkFEt8ijXIuQqnFjzEx7cvamSep9Gl6OxK46yw5SnBALwfTTdqGaWdy0z3kjoXidOk Nv5RMoQgbQbJWTKmCTWJ5dKz8aKI2KPKsfcZnva0ggpY72y7POZLC5OsaSbVHRaMQ0 8aLfBVe1Q7qV5JzPI2Fzn8SIP8yz38GgUWwFiUxptgs3vepRZA48UXEDFgnrWzFpaQ 43VWjPXthrjcU0fxaVYlQdrQL9ve2gSSy4wdjqOOIIZi8S3hWyweRHpfQpftcjwRcM 7qe380LmFc7sg== 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 v7 03/36] tracing: Rename ftrace_regs_return_value to ftrace_regs_get_return_value Date: Wed, 7 Feb 2024 00:08:02 +0900 Message-Id: <170723208269.502590.11563207960186717074.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170723204881.502590.11906735097521170661.stgit@devnote2> References: <170723204881.502590.11906735097521170661.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)