Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1781557ybb; Fri, 29 Mar 2019 11:10:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9GnrGyDuVuz399ndrD7CedLMzZ81ydYr5xTlYsgdNObV7jzhIJ9+0OJFUPI3O4tVeQ0Ql X-Received: by 2002:a17:902:8d93:: with SMTP id v19mr50558448plo.271.1553883041278; Fri, 29 Mar 2019 11:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553883041; cv=none; d=google.com; s=arc-20160816; b=za7IBlkVffjlgT/dSnWRFhGrDGHlbE7NLLjcpc1tIsdXtNMnkZ0qtDLHUS7bTjxSiu BvAfoDH3nCMq5WJbgEpLSgVBImOiotZI+4tdLw1VaNcmXi5rSyu+EgF5lQR4YSSbS4BQ +LB+r1ocyDkonPz2d1EpvR3ZpfG6OlMNskJSaQiDzHTeYj9MtyLjemJpqJ7fMX0y4Oyx iE8RhpUnNTR3qtH2pg2oA7R4c8dhoX3oCmyXUyRJY3E3N9T8++5YLPR9HeJRVVXFCzKl TQrshD/PizDKCyMOczz6aU6+5F9ElC/KlAB1aYmYMf2I4szujE02j2S1gWE7Tjy9Lp6p e+pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=s4ZCUKfRLPJnIxAUuStXAE+wg+9f7Meg4+UY3x4a0tc=; b=oIat0OG25bqpaXwNPiO0lp8tVp78wJSOGooHaFsEEg6XRSjDysWABYPgeZTFadB+t1 bpsf/5+pi+D8TmxSEq+4nlq8RZCQK6BDF8xc7ouXsm/96c4UT+gkMNAcxSB/P9T3yT5s rmkaO4V0GIgQeX0bpV3YEiXzdpgGDF7RiF0TOlSuIYuHHy7HBTnQ8B9yOpTJhNCoymJk oObUygiCOL9/k87ZZwnChIoHaVjmqG69kJ2TZmsZ0jMvopMIL88ufwat2CUhtN08dDtA SIWulXHNR8bLbuBHSAICDMNT4RnUeBHhC6sDDXh3Kv9KawbihGT0hZ4f+BhZxiLV/+T/ NXMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=iHXxaJID; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i96si2379129plb.322.2019.03.29.11.10.25; Fri, 29 Mar 2019 11:10:41 -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=pass header.i=@google.com header.s=20161025 header.b=iHXxaJID; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729902AbfC2SJk (ORCPT + 99 others); Fri, 29 Mar 2019 14:09:40 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:33041 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729652AbfC2SJk (ORCPT ); Fri, 29 Mar 2019 14:09:40 -0400 Received: by mail-pf1-f194.google.com with SMTP id i19so1428164pfd.0 for ; Fri, 29 Mar 2019 11:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s4ZCUKfRLPJnIxAUuStXAE+wg+9f7Meg4+UY3x4a0tc=; b=iHXxaJID1cfcFFuS4BGDnRyg9Mxplx4UhQoViLW3/gt5s5HuCZPp0EWOtuBz1X7fKt WAuEATJBmWOLWZxbPAQSevDxuA3jUitzRs+m1m/Hr2gELSKiEmq7P+I1SbTROFV40kDM P28z3Q6P+VRj7IiWG1u1n7IxIXi9y63/9R8wqZNUOcoNQv3EYcDm00vASADxRdLOwR6p D5Xi/zzjhTfjkUmnVjEuExzjV6MyNdw7NlyqZqivoz8kRQ9mUbtuqFDHK8F+UtUTGqeM j16u9bxOtDrqjxnrxrPWdup2xEJqZfP4PHseCUHfolSHGPreR+NMcnuyZPVyEB5OitUQ U83Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s4ZCUKfRLPJnIxAUuStXAE+wg+9f7Meg4+UY3x4a0tc=; b=FHYdOrlogtnlMUuKGm/Ey4i9e8wqn92yLnkIFLXrImzOgGYZptV6/2n88ffFg5Kod3 S4tiTvIrB3ocGEUgOmkQsLcuJAVq3wR/I3hda2KOTGTd0D0iAU1MQCKb3wyalU9/TjN5 Yknlc67hLEE07LoDGi18zX43EALgwEmqqhHVhVXwU5Nga1aooDmbQsm+fyOmIbrui+HW mX2FM8eV5Cz3sOxt7/+myDjEwL3V3eMDGM1VS+DlxrWrgvLI4ZeqtKa/4slBkNMvSXBZ 7wiqbapDhVWfzaWIwLXtnL3qkFbbTRj0gDAUDFPyDlCuNZAUTUjGYb7kvqfpgcRktLGM n0Qg== X-Gm-Message-State: APjAAAU9JzozjpchZgdcnqNTbBByckNmsxe7VzN82JyNYQKrWun5a8/b 41lbKoinc6cSakb5o8HfVwB8O8eTZJvI3BEAEg+6Iw== X-Received: by 2002:a62:7603:: with SMTP id r3mr48744017pfc.32.1553882979336; Fri, 29 Mar 2019 11:09:39 -0700 (PDT) MIME-Version: 1.0 References: <201903291603.7podsjD7%lkp@intel.com> <20190329174541.79972-1-ndesaulniers@google.com> <9f1ad3e1-fad7-2fb4-31c0-d31832468143@infradead.org> In-Reply-To: <9f1ad3e1-fad7-2fb4-31c0-d31832468143@infradead.org> From: Nick Desaulniers Date: Fri, 29 Mar 2019 11:09:28 -0700 Message-ID: Subject: Re: [PATCH] gcov: include linux/module.h for within_module To: Randy Dunlap Cc: Peter Oberparleiter , Andrew Morton , Greg Hackmann , Tri Vo , Linux Memory Management List , kbuild-all@01.org, kbuild test robot , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Thanks, ~Nick Desaulniers