From patchwork Tue Feb 6 15:08:02 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: 197483 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1603568dyb; Tue, 6 Feb 2024 07:09:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8jIlZesZVQ8puCAWeXPJB6Pf/C+RfAQcM6rs7PD23eHSy9WRDJJR7r9KpF3mmb3TzQAuG X-Received: by 2002:a05:6402:7c5:b0:560:87f:3215 with SMTP id u5-20020a05640207c500b00560087f3215mr2102969edy.12.1707232144146; Tue, 06 Feb 2024 07:09:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707232144; cv=pass; d=google.com; s=arc-20160816; b=cwvs/oDSPVW2FuQ1pvQ8I6LNuhEBatH5Iy/UpA/TpoaV8ueRgBOzyYzFgYxKhpq0Gf 0MgVDlNxaYJ6B6CMQZmZjXYwGZ4RrmDP8CXcKFXnI+zn24oY9D+QYks49HEm5M85Sf1J GoGoh2yMx0fSfo3r5ZCyLtApv+yHoMpy25yHVejMt+BQIRKiBpqG+TaYFHXno5Uqvrs/ 7DxNU749WBUVru37YDv9SZGWH/6iMIG1sTnZq0AljjuYYarjxKJTq35PEgxE8N4d/pBx DmaKAW9oRlnL4hlwcGrHVtgJZy1Mqnm1Po8k6pz7N7cMFrLYPTRC+eTYZNc5TWTr2S1k L4XA== 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=wYJa0IG+zgVu3cPvQA0cIFAHDEbOHETuEN5Qw9Q8rzI=; b=Q76/bwGj4bujBss7Y/IeQCzLYFQwttCouGHUPa5lrcYij7Q8YRoEI00I5+X2v8m1Cc f1CqhhALAsCXhto0NKNjyDACKkELAORihqWIerVz+0MazLRNSD9bxa1a/PDeyTchI0Ur LcrtDSpgDoDL9IYisNm5k2AGBgX/T49kpxdNkwuKonpl9X5ofTN4kRzCDDDRx72Ccx2I sJIef3JbIEZ+BzPzR9Lw37yO7hl7r4jbxJSrbWuU5bsEYI6h764qXMhF54HsK8aDvmil 9yq5YX5914ohS7KJpSjlXq18ESWPPUNDFKob5X2v5R1G6E5rIdu70p68BODwYCpQbRua erCQ==; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55177-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCU+CeLeeU6B3Vi6E4QdcUvzIudrMeVfSanuiQG9QbPC5QEQqQ5pk7OemdpWbRQsVyGKXEOycPxsPQbdWPAz/xXpbhJYoQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t19-20020aa7d713000000b0055ee8d246e6si1254492edq.204.2024.02.06.07.09.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 07:09:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55177-ouuuleilei=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=SnGrcVj0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-55177-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55177-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 am.mirrors.kernel.org (Postfix) with ESMTPS id BA9A01F22320 for ; Tue, 6 Feb 2024 15:09:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06C7A1339BB; Tue, 6 Feb 2024 15:08:12 +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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790162652740118583 X-GMAIL-MSGID: 1790162652740118583 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)