Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2194954rdd; Fri, 12 Jan 2024 02:12:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXvDN/pMNpSBCXHjs8wTYdO/P4ygQ8P5UgEOlKW4xgZ02BzSxkSd3bf3IWsp82CyF1raxW X-Received: by 2002:a2e:869a:0:b0:2cc:bdbd:f31b with SMTP id l26-20020a2e869a000000b002ccbdbdf31bmr688104lji.30.1705054363850; Fri, 12 Jan 2024 02:12:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705054363; cv=none; d=google.com; s=arc-20160816; b=bGC97kPmKr1dYZE8egt+ooDm+HPly7Fnj0CioDqFEjGyIIqSBCu7U0wm/QUM4XgLkb DEEAJRpWEgc4q4KVQ1St6dcjQAm0W7glxtNjuNX6523aBvU0pFURxFVK1qsl7C6FRLHM 4MrOzJQtku0RraZm0+7Qrx7ZcHSABDjw8y7h2gyVFOyrdVfuxrDnAJayU29/W3T1vQ6e 98MwSQr5NrOgWRQVUlgbkOvHbggaaVaPhYmvX3WHTWnJm+wtCo3rPvXmYUnendGzvGW/ Qb9YeTHbd2J6lToQ9CVA4a0/GELlGYu/IJLJfB8NOd4N4MjBYj7ejKEJ3MnAl4NbnZT6 zf/A== ARC-Message-Signature: i=1; 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=C+YeYcERChqrM+mB6MJGnm6nSgQg+t3VAhT1c3xjbKg=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=ucX9qoalqt7t1VN0hI+2U4yQz+pYuIVwNvjzDd2LoC21vAVu9ZJXLl+0z45vRcP0j6 dzv+HpW/NNUfsBQauBb1xQoVMpHowIy2eLOqLwd6tDFT1DmRdWXUZMtmqL38Z+DJABEj got5uVXCegFvnYLKb06FuK/lUe6bAmuE+dG3a3HSZznAK9x6Q2oEmhDn8lEk3QEejh0N L/bM0uAGBp62hkTziOuFhWAtVG9FNkiYTn9DoNVREaJ2ZsZytl8vJI+m5W4fTOrp8DUf wJU4kM+rcCHqrtz1ZMkjF7ClFeadE7RyrHXRNx96kKI6Y7pgcQ6GIq9NoxxqFYowyich WANg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z8v2r+nP; spf=pass (google.com: domain of linux-kernel+bounces-24549-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24549-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 b2-20020aa7cd02000000b00553d5ad75c1si1285908edw.410.2024.01.12.02.12.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 02:12:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24549-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=Z8v2r+nP; spf=pass (google.com: domain of linux-kernel+bounces-24549-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24549-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 93BBA1F20DD4 for ; Fri, 12 Jan 2024 10:12:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D13B5FEEB; Fri, 12 Jan 2024 10:11:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z8v2r+nP" 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 4F8ED5FEE5; Fri, 12 Jan 2024 10:11:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27B34C43143; Fri, 12 Jan 2024 10:11:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705054292; bh=kNRd2hWrO7IhygJA2R89Qwn9iuPQTJYXm7k9t7rmDqE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z8v2r+nP9TFnq1PLR+msEt8/mCNMyB8v/Wp/YgsvJcG2kLx08LBfcQizVcSKVzdk6 9OtNsfm9wKy0CZwUksx1VqRQUdOA87vRsvCDYREvPG4yLz8NJMFQn1ADuv2D0uI66V j+un1ivNmKe1Vy0LfdC5Lt1/hyyki8o7DJwBBB0Kh+TjbIL6iwIYN5nb4ZHdTId2B7 c7gCVfH3ZV5dlNRu9/wRXVU/hculd+3Nmw27nmbCgGtdnJrrOSLk8XMyjtSFHFKdNI 7pMWKlS+i/b9g8FbCJw4Hdwx9FcnUxIlqq7e9jKAO+l0ubgm/Togt//bB461elZ6B4 1Cht5NRNbNvzQ== 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 v6 03/36] tracing: Rename ftrace_regs_return_value to ftrace_regs_get_return_value Date: Fri, 12 Jan 2024 19:11:26 +0900 Message-Id: <170505428634.459169.3461513510942403752.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170505424954.459169.10630626365737237288.stgit@devnote2> References: <170505424954.459169.10630626365737237288.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 a11996eb5892..a9c3d0f2f941 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 9e5a39b6a311..7e138e0e3baf 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)