Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1087130ybn; Wed, 25 Sep 2019 12:12:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxptKU/NfNWkDcozTFcUlZnkSrxAWg5vpVy1OmEgoLRFr4ruy8D/ggxood/3VVXBlVHh1I X-Received: by 2002:a17:906:80c3:: with SMTP id a3mr708100ejx.271.1569438727042; Wed, 25 Sep 2019 12:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569438727; cv=none; d=google.com; s=arc-20160816; b=UlcnxKI0KFRP/VAFIdlNw8emhFr3jFbe2nNtWt2d3SZyVLD7Ijl49DuwHFtaob2SKV Vm9fJsoU5aHzuZhL8wAf5W+4OzphpiCLbhkKBv/hBQRzUsnN7N3bNJMjgQksMxpPv4bB MiXIpNzPd1YMwubaclb/B06oOBZakm/v7y3xS+8kKqkwWf6HhnlO8au6kwrxx3wXKjOW WOEH1rgHDKNzVmcXcic3NQ9wd9ScUaiU8xq59gpF3476Rf+3mJlgldDt6nH1r2zarBpv P7j9LC5pUG+9Y/kkBNuzqOB/rA8N6XKiucZD/pY87s/068gsQYYmWMOq+2D+EhHCnR1O KiMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=KgXYAt6/7g1rJTdWZ024WPUABK7u/T6Fy4/ITnWsrEA=; b=JP0mxrUE7U4/s+nnQ6qVlL+4wE115pKO5Zu01utJm7JlqbVafgKHk3DYJKUZu3c3/W UjZRx/9cvPZg+f1rvOQ0N0XrWBytFn6agsDeT5DmpccdANq0Jm23VWMlXk+zNjJc9Qpt CLkgA929wwIQy3m4l7Jkhu5zZE9eUpmtuZjPOvwQbMnd5dfSjZv1Z8FHUI63T6HDMqrS WHIqflpXJjKdpVZKaE5UFPn52EzVo8+7rhZ8mqsCOBy2HcXQR1SDHVEp/dyKM2a2sLsp fsSsCuJgeJgnA8kTFzW19sScn75peV5FZqe37/JTw3kQ33485MixsXSAjd35idgEbZX2 Aqwg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l19si3789088eds.389.2019.09.25.12.11.42; Wed, 25 Sep 2019 12:12:07 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726653AbfIWPJt (ORCPT + 99 others); Mon, 23 Sep 2019 11:09:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39054 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbfIWPJt (ORCPT ); Mon, 23 Sep 2019 11:09:49 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3168A308424C; Mon, 23 Sep 2019 15:09:49 +0000 (UTC) Received: from krava (unknown [10.40.205.167]) by smtp.corp.redhat.com (Postfix) with SMTP id 3C56060BEE; Mon, 23 Sep 2019 15:09:44 +0000 (UTC) Date: Mon, 23 Sep 2019 17:09:43 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan Subject: Re: [PATCH 10/73] libperf: Add perf_mmap struct Message-ID: <20190923150943.GA19642@krava> References: <20190913132355.21634-1-jolsa@kernel.org> <20190913132355.21634-11-jolsa@kernel.org> <20190923150533.GG16544@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190923150533.GG16544@kernel.org> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Mon, 23 Sep 2019 15:09:49 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 23, 2019 at 12:05:33PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 13, 2019 at 03:22:52PM +0200, Jiri Olsa escreveu: > > Add the perf_mmap to libperf. > > > > The definition is added into: > > > > include/internal/mmap.h > > > > which is not to be included by users, but shared > > within perf and libperf. > > > diff --git a/tools/perf/lib/include/internal/mmap.h b/tools/perf/lib/include/internal/mmap.h > > new file mode 100644 > > index 000000000000..8d10559dee49 > > --- /dev/null > > +++ b/tools/perf/lib/include/internal/mmap.h > > @@ -0,0 +1,19 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ > > +#ifndef __LIBPERF_INTERNAL_MMAP_H > > +#define __LIBPERF_INTERNAL_MMAP_H > > + > > +#include > > +#include > > +#include > > +#include > > So you're doing this with high granularity, cool! But then you should > take care not to add unnecessary stuff here, i.e. these four headers are yea, they will be needed for added fields in following patches > not necessary at this point in the series, I'm removing them and adding > as they become necessary. ok, thanks jirka