Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932695AbcLROyP (ORCPT ); Sun, 18 Dec 2016 09:54:15 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36764 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753059AbcLROyL (ORCPT ); Sun, 18 Dec 2016 09:54:11 -0500 Subject: Re: [GIT PULL] kbuild changes for v4.9-rc1 To: Jiri Slaby , Arend Van Spriel , Linus Torvalds References: <20161017065131.GA27863@angband.pl> <20161017175951.31d8f4b7@roar.ozlabs.ibm.com> <20161017100130.GA16013@angband.pl> <7212667f-f508-2b41-a380-8f736814d8cc@suse.cz> <5ee08a93-6b17-d1c2-af1c-ab9aa218903c@suse.cz> <9dec52ac-dc82-73c5-6b36-b5eb7cc052fa@suse.cz> <8311f14c-3d1e-6354-323a-87701cabaa97@broadcom.com> <0fca8045-30c0-590d-07b8-d7d7d9791759@gmail.com> <9aa0d77b-5cb4-f67f-4a09-2c6336b32db6@suse.cz> Cc: Adam Borowski , Nicholas Piggin , Omar Sandoval , Michal Marek , Alexey Dobriyan , Stephen Rothwell , Al Viro , Linux Kbuild mailing list , Linux Kernel Mailing List , "linux-arch@vger.kernel.org" From: Nikolay Borisov Message-ID: Date: Sun, 18 Dec 2016 16:54:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <9aa0d77b-5cb4-f67f-4a09-2c6336b32db6@suse.cz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 571 Lines: 19 On 18.12.2016 16:45, Jiri Slaby wrote: > Moreover, with some modules, __put_user_1 and others are reported > instead of mcount. nm vmlinux | grep __fentry__ nm vmlinux | grep mcount What do these report ? I bet you that in your vmlinux the first one would return something like : ffffffff822f1810 T __fentry__ ffffffff827fdc20 r __kcrctab___fentry__ ffffffff82809461 r __kstrtab___fentry__ ffffffff827e6c20 R __ksymtab___fentry__ and nothing for the second. Whereas doing nm on the module in question would give nothing for __fentry__ and something like: U mcount