From mboxrd@z Thu Jan 1 00:00:00 1970 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 3239717D2 for ; Fri, 1 Dec 2023 23:03:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UoNxALy4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F735C433C9; Fri, 1 Dec 2023 23:03:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1701471781; bh=416DK5PCLIvTh+RxZkSMRH7YhAoQUVgJGbQlCFkidtQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UoNxALy4an0NWNVy6wmrzMDQCYGK1aZH5Tm8IUQEfvf/gJYwyQkEydx0CqUyvp34V keY1Odx3X9iCdUHsVO2mt0gXl76B8ReAaiWELaU1NZSZUSg/tY4Djov4Yn5qoDnwpc 6nLezNSuS3iSCeOQgyhgTMtthE9bJGJafU6iu1T0= Date: Sat, 2 Dec 2023 00:02:58 +0100 From: Greg KH To: Francis Laniel Cc: stable@vger.kernel.org, Masami Hiramatsu , Jiri Olsa , Christoph Hellwig , Alexei Starovoitov Subject: Re: [PATCH 5.15.y v1 1/2] kallsyms: Make kallsyms_on_each_symbol generally available Message-ID: <2023120247-unsocial-caress-14fe@gregkh> References: <20231201151957.682381-1-flaniel@linux.microsoft.com> <20231201151957.682381-2-flaniel@linux.microsoft.com> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201151957.682381-2-flaniel@linux.microsoft.com> On Fri, Dec 01, 2023 at 04:19:56PM +0100, Francis Laniel wrote: > From: Jiri Olsa > > Making kallsyms_on_each_symbol generally available, so it can be > used outside CONFIG_LIVEPATCH option in following changes. > > Rather than adding another ifdef option let's make the function > generally available (when CONFIG_KALLSYMS option is defined). > > Cc: Christoph Hellwig > Reviewed-by: Masami Hiramatsu > Signed-off-by: Jiri Olsa > Link: https://lore.kernel.org/r/20220510122616.2652285-2-jolsa@kernel.org > Signed-off-by: Alexei Starovoitov > --- > include/linux/kallsyms.h | 7 ++++++- > kernel/kallsyms.c | 2 -- > 2 files changed, 6 insertions(+), 3 deletions(-) What is the git id of this commit in Linus's tree?