Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DFE2C64EC7 for ; Tue, 14 Feb 2023 01:46:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229961AbjBNBqt (ORCPT ); Mon, 13 Feb 2023 20:46:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjBNBqs (ORCPT ); Mon, 13 Feb 2023 20:46:48 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E672718175; Mon, 13 Feb 2023 17:46:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7F74F61370; Tue, 14 Feb 2023 01:46:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8862C4339B; Tue, 14 Feb 2023 01:46:45 +0000 (UTC) Date: Mon, 13 Feb 2023 20:46:43 -0500 From: Steven Rostedt To: LKML , Linux Trace Kernel Cc: Masami Hiramatsu , Shuah Khan , Shuah Khan , Peter Zijlstra Subject: Re: [PATCH] tracing/selftests: Ignore __pfx_ symbols in kprobe test Message-ID: <20230213204643.39f86987@rorschach.local.home> In-Reply-To: <20230207135147.5ce618d6@gandalf.local.home> References: <20230207135147.5ce618d6@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Feb 2023 13:51:47 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > The kprobe probepoint.tc test started failing because of the added __pfx_ > symbols that were added because of -fpatchable-function-entry=X,Y causing > unwinders to see them as part of the previous functions. But kprobes can > not be added on top of them. The selftest looks for tracefs_create_dir and > picks it and the previous and following functions to add at their address. > This caused it to include __pfx_tracefs_create_dir which is invalid to > attach a kprobe to and caused the test to fail. > > Fixes: 9f2899fe36a62 ("objtool: Add option to generate prefix symbols") > Signed-off-by: Steven Rostedt (Google) Shuah, Can you pick this patch up? Thanks, -- Steve