From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751906AbbJFJ30 (ORCPT ); Tue, 6 Oct 2015 05:29:26 -0400 Received: from mga11.intel.com ([192.55.52.93]:36347 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbbJFJ3Z (ORCPT ); Tue, 6 Oct 2015 05:29:25 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,643,1437462000"; d="scan'208";a="785546019" Subject: Re: [RFC/PATCH 03/38] perf tools: Move auxtrace_mmap field to struct perf_evlist To: Namhyung Kim References: <1443763159-29098-1-git-send-email-namhyung@kernel.org> <1443763159-29098-4-git-send-email-namhyung@kernel.org> <20151002184525.GB4736@kernel.org> <56125F21.9020807@intel.com> Cc: Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , Frederic Weisbecker , Stephane Eranian , David Ahern , Andi Kleen From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <561393C3.2040501@intel.com> Date: Tue, 6 Oct 2015 12:26:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/10/15 12:03, Namhyung Kim wrote: > Hi Adrian, > > On Mon, Oct 5, 2015 at 8:29 PM, Adrian Hunter wrote: >> On 02/10/15 21:45, Arnaldo Carvalho de Melo wrote: >>> Em Fri, Oct 02, 2015 at 02:18:44PM +0900, Namhyung Kim escreveu: >>>> Since it's gonna share struct mmap with dummy tracking evsel to track >>>> meta events only, let's move auxtrace out of struct perf_mmap. >>> Is this moving around _strictly_ needed? >> >> Also, what if you wanted to capture AUX data and tracking together. > > Hmm.. I don't know what's the problem. It should be orthogonal and > support doing that together IMHO. Maybe I'm missing something about > the aux data processing and Intel PT. I'll take a look at it.. > It is only orthogonal if you assume we will never want to support parallel processing with Intel PT. The only change that needs to be made is not to assume there is only 1 tracking event. IMHO there could be separate mmap_params also, which would allow for different mmap sizes for the tracking and main mmaps.