Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2565423ybp; Thu, 10 Oct 2019 09:11:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuFd8BQM2HlbhuxwagQDc386h/XMY/dzn/GTf3fJnKh28korzRZrrl8PmyMK797zYg8Oro X-Received: by 2002:a17:906:70c7:: with SMTP id g7mr9182065ejk.9.1570723884912; Thu, 10 Oct 2019 09:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570723884; cv=none; d=google.com; s=arc-20160816; b=tbiFyU+jxJIYM1HE5dyc2mKvskYq5IX924MG3UBCCDJYFsEa6vFg548PSlvMxLUxzD zhVTuBaLMjRXbh/+E6bP0jjE0++BXiTUI10M/ZFh6U11a0oo3TbdUvcGxPTDyaCCfHtt M/ZOuNX9Q5953BBcIQqKH9eAvdV2OF/iGl7+YJKVZ8EtDiEFIiG11paJu8rFZfHqCfHZ RDh9nKDZ+vWd9oV+D2PlzHibzKbNe324B4tmz3ebJHHHDeO+1UTRwnzTdLMMi1eDHhvU pNEgl+3MsiWXT6zBC9Y4a0ifLZ7DgeG+qfJYWuH8UxZKDJJ6TZ51eqAyMpAWHuZu5URA 0zNw== 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:date:from:dkim-signature; bh=wKz6+enNqDdYt1jyGExLvEudHceohtta0eMtT6eQJ7o=; b=UKS8RG8n72NqKtCwQ+7b3ShNmuBZ4nVzlQ5+r/6WIzdO/gvu6AurnSqA8Lw2iDFdOX kTe+crH1rbotFfw+yNnok1Ipi8qpbIwE7QijMYJqJEq+a3xVd9HpjRz38X0tPFCAwoBP rdUXkpx80nqYj2RlZp5f1rRvlEuyRIUbx8R0uir3fq2TAX8P6Vi3ju/VTRengYZIIvak CsN8nIWhq9XaiYRIq8knegJ3mqXjS9LmWIruw4ANaum2dsKJw1hViJHYnoovjL5KKDNN Lb7RqU+l1nBkbRBB/rZa1zWuG8n8AUewjjl3M3E8IDlJWEweTxjZwxdFy7IIBYE8FFB3 ytAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CcmShbOz; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sb7si3461272ejb.321.2019.10.10.09.10.52; Thu, 10 Oct 2019 09:11:24 -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=@gmail.com header.s=20161025 header.b=CcmShbOz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726320AbfJJQHW (ORCPT + 99 others); Thu, 10 Oct 2019 12:07:22 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:42645 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbfJJQHW (ORCPT ); Thu, 10 Oct 2019 12:07:22 -0400 Received: by mail-qt1-f194.google.com with SMTP id w14so9446080qto.9 for ; Thu, 10 Oct 2019 09:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wKz6+enNqDdYt1jyGExLvEudHceohtta0eMtT6eQJ7o=; b=CcmShbOzJK6tNGpewdMIWIZINmshsoo/O57jFHY9u4NzO+IwZ5klQBwfWJRCKvB/of rSIC4yoYV6HCo0N8EBEoGnssK8XAB45yVVJ1gsWQZSb/UHJMFkfXKasZ58M3Kpqw6YEP 3IzJCy5WTD7SXwGjaF4NcMf8sd8QzjQGEGDkGMAhyTEnmgCEyZOWzcBEJn3WYpCA2JYv z45DPiQZplEZ+ycPzLLlFtfp49dXIhLmDBWp2NRz8veMCaKtHC6iphqn9D9bb/97QJdH eimP7NKXc3itfAKbc8GXEOroXeT3MQdrjSB1y4sftdh8qSUo70eC4bGP9XSr55D/7wtV Qx0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wKz6+enNqDdYt1jyGExLvEudHceohtta0eMtT6eQJ7o=; b=o5EmXTCKltq3b4pL1QxwyHBHx/85dE98GyM3Su1CxRY5xKsjxfucuMK9ES99c2sTdE Rl14mSx9cNlAXML6XKCnBIckrKi5BmUIDDLP2Xy9ZqSzyQYTGeivvxyRZOjOarhdToQw QG3VgLj6ivJ215ZkyHvbCf74z8Mo4t5OgYAtx+THu9HnzrzP5Zij8WBsDo29oJhUxZT0 pQD1lDWjRK2XIA5s3ym4/tDFNu+JJO3BC9mZWeheC09qVa0/6uo7dGyjYG6FaHcTBFRH 1TKXSrCTlyiKuGEfxtHE43fOjYYAjEY+y973IYosoIdanRuO5LQ5THOb6xpUcCx8+2JZ vkJQ== X-Gm-Message-State: APjAAAUbDT6fXPrOfOzVzbHQHb24fObJHdXsIQhgZW20IKX9ClGshUZa eBbh79uPoaP/v53ceS5F19x0aH03 X-Received: by 2002:ac8:2813:: with SMTP id 19mr11434693qtq.375.1570723641419; Thu, 10 Oct 2019 09:07:21 -0700 (PDT) Received: from quaco.ghostprotocols.net ([179.97.35.50]) by smtp.gmail.com with ESMTPSA id 77sm3046141qke.78.2019.10.10.09.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 09:07:20 -0700 (PDT) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id C3F384DD66; Thu, 10 Oct 2019 13:07:18 -0300 (-03) Date: Thu, 10 Oct 2019 13:07:18 -0300 To: Jiri Olsa Cc: Jiri Olsa , Alexander Shishkin , Michael Petlan , Namhyung Kim , Peter Zijlstra , lkml , Ingo Molnar Subject: Re: [PATCH 12/36] libperf: Add perf_mmap__read_event() function Message-ID: <20191010160718.GD11638@kernel.org> References: <20191007125344.14268-1-jolsa@kernel.org> <20191007125344.14268-13-jolsa@kernel.org> <20191010144700.GB11638@kernel.org> <20191010153232.GA24818@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191010153232.GA24818@krava> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Oct 10, 2019 at 05:32:32PM +0200, Jiri Olsa escreveu: > On Thu, Oct 10, 2019 at 11:47:00AM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > > diff --git a/tools/perf/lib/include/internal/mmap.h b/tools/perf/lib/include/internal/mmap.h > > > index ee536c4441bb..b328332b6ccf 100644 > > > --- a/tools/perf/lib/include/internal/mmap.h > > > +++ b/tools/perf/lib/include/internal/mmap.h > > > @@ -11,6 +11,7 @@ > > > #define PERF_SAMPLE_MAX_SIZE (1 << 16) > > > > > > struct perf_mmap; > > > +union perf_event; > > > > Why are you adding this here? > > oops, it should be in lib/include/perf/mmap.h ;-) > plz let me know if you want me to repost I fixed it already, its in acme/tmp.perf/core, will continue later, possibly will push to Ingo what I have there if it passes all the tests, its getting too big a perf/core. :-) - Arnaldo