From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A70AFC2B9F7 for ; Mon, 24 May 2021 23:42:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8C21461422 for ; Mon, 24 May 2021 23:42:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbhEXXoL (ORCPT ); Mon, 24 May 2021 19:44:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:43906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbhEXXm5 (ORCPT ); Mon, 24 May 2021 19:42:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C64686140F; Mon, 24 May 2021 23:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621899687; bh=WpOkHh4kv1W74/DyvTIZCMl22CrsOB78gu+cKOhCpy0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XgTQfvYe7m5+60/PtvQHLaA/nbLL+nfM+Lz8hGJBFZ+LonNO9HbzYjtxkazadcYoy pHFQdH4uD+3CTKqLO4qYT8QUf7jwQ94APzqOmKEk0texuLqkcRR/PcSgnD/T5UAYkJ 6v6dzo8gTHjxqW6ql3eGNMSJfTRZKb2hS+gLLmRMGQKBLV7+DN8YMHSFIBYnQKSnkb 9aA8/VzEc8gcQAbZNmMQa0cb4OH7XuhnaFQ8HxkGd7FxE1M7hpfREJ0qZogTuvgdgs 7OzzRTwP8K7qULp7xdxVHeVeyQ6OVzPLwFxYvwh3cX0iP4P4ZHITaT+/L2savTVzyR 1YdNYNlcNsubg== Date: Tue, 25 May 2021 08:41:22 +0900 From: Masami Hiramatsu To: "Naveen N. Rao" Cc: Ingo Molnar , Steven Rostedt , ast@kernel.org, bpf@vger.kernel.org, Daniel Xu , Josh Poimboeuf , kernel-team@fb.com, kuba@kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, X86 ML , yhs@fb.com Subject: Re: [PATCH -tip v2 02/10] kprobes: treewide: Replace arch_deref_entry_point() with dereference_function_descriptor() Message-Id: <20210525084122.983fce68c1b1d8f5e0e2ec9d@kernel.org> In-Reply-To: <1621848345.yvip3z0wyn.naveen@linux.ibm.com> References: <161553130371.1038734.7661319550287837734.stgit@devnote2> <161553132545.1038734.15042495470069054830.stgit@devnote2> <1621848345.yvip3z0wyn.naveen@linux.ibm.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; 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 Hi Naveen, On Mon, 24 May 2021 14:56:50 +0530 "Naveen N. Rao" wrote: > Masami Hiramatsu wrote: > > Replace arch_deref_entry_point() with dereference_function_descriptor() > > because those are doing same thing. > > It's not quite the same -- you need dereference_symbol_descriptor(). Got it! dereference_function_descriptor() doesn't handle the symbols in the modules. Thank you! > > > - Naveen > -- Masami Hiramatsu