Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1783588ybb; Fri, 29 Mar 2019 11:13:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqx90wRjFPTgD5KfigZxHQxakcpWv6ih82iUV1UqURgQEXN+Cy9vbJUX7BLvFaY3mFUSdGxd X-Received: by 2002:a17:902:2989:: with SMTP id h9mr50252599plb.26.1553883184019; Fri, 29 Mar 2019 11:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553883184; cv=none; d=google.com; s=arc-20160816; b=gP0tOv3xXPuJiXQHMACwm05tFaV3/UswtX0SFBq4BBtSeV5f0aqi8gobzriEhRlxCB aOjnPFyDpM3ac+MH/AfX6gR5CvjAE0yJZTpcrvsVUn1HGx6M4ZH3F1c1wwRkQMvWAaZj ADfy97gSK+rlpgzHbkL2kfPao190pP34h5ZTP8WvMhp1id4NDD1B6++NcdWqOL0OMhLS 1rbf/ZWCDV3TFSb1cGEgUQWEsf8DjNCZkFF1671DEMmwHNzQAdYROde9qs7iEiK+nkh4 J2LXJw6Tuvf2ahMFyw+Lxb/tecXfDxYCMZK/jX2yTsibtnXqShEYZ506XTRdFtJkqw7x hZkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=cfnDbEyF8f3jK6rE9tvOedJ62dm6dAUPE3LAW9VXfgY=; b=jgm55Z5OlWEMT5tr/NxCGeQO3ECd4Kh27jlMp0XYNGtODskG2MSqpgSdPhSXz31/gq wW5a0B4S4AVgza3+zyhTC3LtVebpk/1wWTCRgbA71Uuj30Qf7QpNLW6GHLO9BfxLCsLJ TmcnwHlnkTR0t9HehYIOnNN2+kd5Dlm/bXNujWpVOA8XmAxChYvACnwNUvyx7JE0xW85 XYNj7jVCucb7Dnjifs38QT0LIMprq2KuWB5lP2xn4z61pjYR9nqn3671WcgPRRuSlWEq 1MrDbZ0VUomuniAOk5ONcFRjlrXeQIUwScDrhYJlHZGC4zrtpot2Y0ByNvDGbiR8hiWD H+Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=MZABh0Gx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m79si2375265pfi.81.2019.03.29.11.12.48; Fri, 29 Mar 2019 11:13:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=MZABh0Gx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729994AbfC2SKx (ORCPT + 99 others); Fri, 29 Mar 2019 14:10:53 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58122 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729652AbfC2SKu (ORCPT ); Fri, 29 Mar 2019 14:10:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cfnDbEyF8f3jK6rE9tvOedJ62dm6dAUPE3LAW9VXfgY=; b=MZABh0GxYIsd0IG3di5ESr7MF kO1b00Kb7MBoGMvrXcbbFpww+LlgET3S5/IqOTrn2i0yWF2kmNAFXCmMtNnDKMLcykhULTvjVBVRe s1xeA3aopEJUHlGDOFG0J/z5YtpuIyqtVGHsESTEHMkblFGMp2ZtQtmZyxk3KmG5jkn85RGtuysv/ DRgUUL8Kr0++WAbXLoYVm4Iq2yA2WRuYll0NRZPeNE86DoJ7SEVMyZTz1j/7hhcMZFi6UZJ5x10Tm 2DMYHcq9LgQ4Qlr1+xGDCERojwGxMaHIAK/H+aNj/Nrj3iqssx59dQTAy1Lu0PW9jTiVnQuKi0cKe jwaHh6N1g==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9vxq-0002dh-29; Fri, 29 Mar 2019 18:10:50 +0000 Subject: Re: [PATCH] gcov: include linux/module.h for within_module To: Nick Desaulniers Cc: Peter Oberparleiter , Andrew Morton , Greg Hackmann , Tri Vo , Linux Memory Management List , kbuild-all@01.org, kbuild test robot , LKML References: <201903291603.7podsjD7%lkp@intel.com> <20190329174541.79972-1-ndesaulniers@google.com> <9f1ad3e1-fad7-2fb4-31c0-d31832468143@infradead.org> From: Randy Dunlap Message-ID: Date: Fri, 29 Mar 2019 11:10:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/19 11:09 AM, Nick Desaulniers wrote: > On Fri, Mar 29, 2019 at 11:01 AM Randy Dunlap wrote: >> >> On 3/29/19 10:45 AM, Nick Desaulniers wrote: >>> Fixes commit 8c3d220cb6b5 ("gcov: clang support") >>> >>> Cc: Greg Hackmann >>> Cc: Tri Vo >>> Cc: Peter Oberparleiter >>> Cc: linux-mm@kvack.org >>> Cc: kbuild-all@01.org >>> Reported-by: kbuild test robot >>> Link: https://marc.info/?l=linux-mm&m=155384681109231&w=2 >>> Signed-off-by: Nick Desaulniers >> >> Reported-by: Randy Dunlap >> see https://lore.kernel.org/linux-mm/20190328225107.ULwYw%25akpm@linux-foundation.org/T/#mee26c00158574326e807480fc39dfcbd7bebd5fd >> >> Did you test this? > > Yes, built with gcc 7.3 and > defconfig > + > CONFIG_GCOV_KERNEL=y > CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y > CONFIG_GCOV_FORMAT_4_7=y > >> kernel/gcov/gcc_4_7.c includes local "gcov.h", >> which includes , so why didn't that work or why >> does this patch work? > > Good point. May be something in the configs from 0-day bot. Boarding > a plane for Bangkok, but can dig further once landed. > > Maybe module support was disabled? Yes, I reported the problem with CONFIG_MODULES not enabled. -- ~Randy