Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2426204imu; Thu, 17 Jan 2019 14:04:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN7qGrSA4etr8lYVBJgnFzZIardiY9yEz0rLH6z81QXpr01w0Z3BGFHJqjsoW3ki4jq7cxYs X-Received: by 2002:a62:5486:: with SMTP id i128mr16306762pfb.215.1547762677880; Thu, 17 Jan 2019 14:04:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547762677; cv=none; d=google.com; s=arc-20160816; b=XVcyPK1MnEcO4MgUxHy24Akw1yKeILNp0M6EQjO7SgeFpR/DdmsAeXg7JTYbTQAott HDtkzy/3T0Qk/5LeFx9X56wRPWBIH6kM449ResJK4LCkW0CScv0MsloloU8wAhS+lgN0 YWlkgZ0WZ5au5tIUNCHMXKQftbTTboKJTRU27k2Y9CeT7GoD+2/A7WZIurPq3l8KusCM OssLG9Km+VmPdEzIWjkmIklfLcXrcwpUk8F+8PJb24ZGDZTZYJbgYO8b8FSgQ2NdvG1/ 1k6bO+vDGGaMLp11ktj5U2Vn8QoyWUwUHDpdDd8sgQgPQyVnPeA0opEdV9flPSNAsehy i2UA== 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=xtLJ4I/FwlqrLLjq78H2PTu6xyGelPhrqMXBqV7TTxo=; b=H6NGxGA+iA2zFbkpU8nZow0UH/GGVynHvh8t+0tJcG7UybKFuRWv5gYw7G+egJ2rlw lpeKvWxkm86fsAlni1gjx4xrYtld24gnYKcf8KphT3w5eMOHfVIG/HgKo6ihW533xCOy Rq9pYg96YPqgIqNXhWPzSsbxr0c5S3Tg38ZeXpAqEVBIDmkPBn1RBd0NCuKx9MVLtsbv a038kAZ4ntyGPgtlfsG0ZFvBUyDq1TzgR3PDkOBd0GEr9OH0n/YYYMJOS57DIMDuvugS TVRfeBs5OUI6zrnfTZEinbyPVr3kxtc1fAG501ee+ny/Q4hw5wGG3szbjo38S9YbZJJG gIsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=Rxxq7Ua9; 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=NONE sp=NONE dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c81si2777365pfc.82.2019.01.17.14.04.19; Thu, 17 Jan 2019 14:04:37 -0800 (PST) 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=@android.com header.s=20161025 header.b=Rxxq7Ua9; 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=NONE sp=NONE dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728112AbfAQWBy (ORCPT + 99 others); Thu, 17 Jan 2019 17:01:54 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:41272 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726348AbfAQWBx (ORCPT ); Thu, 17 Jan 2019 17:01:53 -0500 Received: by mail-oi1-f194.google.com with SMTP id j21so7419669oii.8 for ; Thu, 17 Jan 2019 14:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xtLJ4I/FwlqrLLjq78H2PTu6xyGelPhrqMXBqV7TTxo=; b=Rxxq7Ua9ieNso3+5hNghfxgX/hhj2TUWo0Zq+dVhyku1eqq9nrKV+kaLUml99YZJ/0 6MBGUvR/dHhG3VLCQzJworqtvluD9jRuhJPR8OYqtB+Ivuuhi33Hqd0GFhU8gpFe8ZmY P/5SUTkvCoyYUwrIDnNsUa7NpZmjqS0zjXktAs12k6D1SIoQXW6b8PtmCcJtOf1oEaFZ YHK+/D5ro6uE8IJpnQwGXXYxgw/8climNYHqhqRWjlzC2wYp+wNcmz326uRBaZDZYglQ hq9/R1Nznw2o2KpjF5Xg6gA7ZtVbU420I70t+1juNPmoYWiwZPwdmT9wSLoyXskQOqBO JY0g== 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=xtLJ4I/FwlqrLLjq78H2PTu6xyGelPhrqMXBqV7TTxo=; b=oUVpCUr+IfYKDkLfLN3/FXCUN+VEr39jDkq4c7VRVbZf4a6w/wmH19qqQFKTrvgkZ5 cwdAwO5QyMGZ/g4sS2WRTZhAKY3eRLQEMl3/PmFAxBF8MXtk53BQFdVLwCPHyL7eL3k3 pGXljOYQmbW21p5r0KFIwZac5x6QQonY28PtI4cymJvNWhoilr3XeAilITY2OQ2A0mMg KqPGmzWNysPAYGZ8gIRuLAoUo47o5HEQ+d0lu1baespgRQxvQzKojAJbSiKN6l+UxJfd sX5/yYVWwnjM9kRSUEJcMyruhx44XvQ0nwyAx1zkMXs9TbXzp45MnvRVlVGc5C5dJcBg VpqQ== X-Gm-Message-State: AJcUukdFmi/QDz13PWJx1jtYPAZoMxo8EmeFk+BmRC0N9LeRqBu+hPt4 PFKGPrN1mJTO3FY19HKVWQ2V+Bz21UJgx5rBisCHdA== X-Received: by 2002:aca:5ec5:: with SMTP id s188mr2223804oib.340.1547762512303; Thu, 17 Jan 2019 14:01:52 -0800 (PST) MIME-Version: 1.0 References: <20190115183643.120619-1-trong@google.com> <65bb2ab8-4929-db7c-9d54-491d87ec23ae@linux.ibm.com> In-Reply-To: From: Tri Vo Date: Thu, 17 Jan 2019 14:01:41 -0800 Message-ID: Subject: Re: [PATCH v2 0/4] gcov: add Clang support To: Nick Desaulniers Cc: Peter Oberparleiter , Greg Hackmann , LKML , kernel-team@android.com 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 Thu, Jan 17, 2019 at 1:30 PM Nick Desaulniers wrote: > > On Wed, Jan 16, 2019 at 7:17 AM Peter Oberparleiter > wrote: > > > > On 15.01.2019 19:36, Tri Vo wrote: > > > From: Tri Vo > > > > > > This patch series adds Clang supoprt for gcov. > > > > > > Patch 1 refactors existing code in preparation for Clang support. Patches > > > 2-3 implement necessary LLVM runtime hooks and gcov kernel interfaces. > > > Patch 4 simplifies config selection. > > > > > > Greg Hackmann (2): > > > gcov: clang: move common gcc code into gcc_base.c > > > gcov: clang support > > > > > > Nick Desaulniers (1): > > > gcov: clang: link/unlink profiling data set. > > > > > > Tri Vo (1): > > > gcov: clang: pick GCC vs Clang format depending on compiler > > > > Overall this patch set looks good to me. It introduces a clean way for > > GCC and Clang specific implementation details to coexist. > > > > A quick test compile using GCC on s390 with the patch set applied was > > successful, so it seems like the existing support is unaffected. > > > > There are some detail suggestions on patch improvements that I'll post > > in separate e-mails. > > Peter, > Thank you so much for the valuable code review and feedback. We'll prep a v3. > > Tri, > I think you should change the authorship for the patches to yourself, > and add a "Co-authored-by: " tag to the commit messages. Can probably > squash this series into 2 patches; the one that separates out the > shared code; and the new llvm additions. WDYT? Squashing into 2 patches sounds good. I'll leave Greg's authorship in there though.