From nobody Thu Feb 12 15:46:06 2026 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 DA9F615278E for ; Tue, 11 Jun 2024 20:46:12 +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=1718138772; cv=none; b=X9XqT9CKGR3nOfGmJkh6XIz0q3nce3FA1L0bfxq7tmm2bLLc5+QaVE+XLkZmvd/PXNKznWq6nafwi7kUuIvtZVydyPRpwa4IjdltoKykX9NUC8KCSpG/pZR2Pb+goKerJR9Vy/eubMquo/HHEnC99lvD58JSCm1AB9SIY5jNlDc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718138772; c=relaxed/simple; bh=mlfoC7wSjNFUGkvrNFnurpR22N9Qil8iNTgQKZPwB0s=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=uYvH7O8bVeRhVAR50RL4D+w1yBddTSlKrTrhuKUIHCKlrFEluJsI5VEeUUomIxqPQj8wKJm0fqRJcdrRjIEAZeLFC/plgheeBzMSzyu2QAIYP4WTmqGU+W9v9BERnGzvZtVC4gohPvBjMVQ7YBSoB0pCckwbVcSDXmZ4/sgyVa0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D21EC4AF55; Tue, 11 Jun 2024 20:46:12 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.97) (envelope-from ) id 1sH8Nx-00000001V47-0RxS; Tue, 11 Jun 2024 16:46:29 -0400 Message-ID: <20240611204628.970422788@goodmis.org> User-Agent: quilt/0.68 Date: Tue, 11 Jun 2024 16:45:58 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Shuah Khan , Javier Carrasco , Marilene A Garcia Subject: [for-next][PATCH 4/4] ftrace: Add missing kerneldoc parameters to unregister_ftrace_direct() References: <20240611204554.092271761@goodmis.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Marilene A Garcia Add the description to the parameters addr and free_filters of the function unregister_ftrace_direct(). Link: https://lore.kernel.org/linux-trace-kernel/20240606132520.1397567-1-m= arilene.agarcia@gmail.com Cc: Masami Hiramatsu Cc: Mark Rutland Cc: Mathieu Desnoyers Cc: Shuah Khan Cc: Javier Carrasco Signed-off-by: Marilene A Garcia Signed-off-by: Steven Rostedt (Google) --- kernel/trace/ftrace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 4aeb1183ea9f..f44229294e9d 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -5988,6 +5988,8 @@ EXPORT_SYMBOL_GPL(register_ftrace_direct); * unregister_ftrace_direct - Remove calls to custom trampoline * previously registered by register_ftrace_direct for @ops object. * @ops: The address of the struct ftrace_ops object + * @addr: The address of the direct function that is called by the @ops fu= nctions + * @free_filters: Set to true to remove all filters for the ftrace_ops, fa= lse otherwise * * This is used to remove a direct calls to @addr from the nop locations * of the functions registered in @ops (with by ftrace_set_filter_ip --=20 2.43.0