Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2932112pxy; Mon, 3 May 2021 11:09:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbOr/cr/LPdt374Ge5q1iEgL0A6XyRegEXpYcgGWg6o4Q8lERbsJQjFUYUsqoo8yc6voKJ X-Received: by 2002:aa7:814e:0:b029:20e:f3fa:2900 with SMTP id d14-20020aa7814e0000b029020ef3fa2900mr20244344pfn.62.1620065380868; Mon, 03 May 2021 11:09:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620065380; cv=none; d=google.com; s=arc-20160816; b=C53zN7F+NkdhbwumqV1IlVScgIyv13nfnlYQDpufsdOKHkGKozkf/Y0UjHWd0xf9IK RrBfG5+yqW8NyM/wJR+kcc5a8iROAR8aH/D19zwaGcwq/QHxyINImger1j44ykDpOtda 2NgvDm2bJ0jFNERQtH3XFUPjy5YBgztloBhnrlKAzohHrZLNGHkjASugIcWyB6UIYSqT r1Gre1WCeHlV9BMM4cVHi5J2zKw8eH/O9N3s4XOrN703+KLJF/U1h0b7wS0abHQ3LZxu 9n8OJAVLArUA2ETHW+7KA8QWNGRahtW6gsl8O5BYZ5RAK7J4Ap3Z4VjcsmJXUFHrDIIN Ad9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=jlh8DxbCahBQ/hdf3bz5PjwVqcF6siyrcOUWEJhXeQY=; b=abhZJa9jVzCONxNSgwA1mBBKY7CMC0W+9gy4Gf1BJ6f3vtBrYBTiwAJBbL0mH1GK12 Ga8bNdUR+OswJzZw+CZ93dQzy9MrgHWOhZVvC9Cd4rJJtgvXxstnehpC2JhkgDpE2QB3 20k1JHsIogwNRpL5sLjkF2o0ivQfAPRNwha1C2eDr6Zs8hsC5t/y1Ba9TxjXcFcZZLew VDSgpcP5Wc5waIGV72YAA1DV1psuI7BqOC7s6V5YYjBno3jedKRM/PWbwvPcZiwFokBW QTRM9kotyrtOyv15Ex5CZfBmN7KEMQupLfoqvrWuzAgmaZJLK1wHkWFu0QPnxvHSJgCz uSsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck4si254600pjb.55.2021.05.03.11.09.28; Mon, 03 May 2021 11:09:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230035AbhECO5c (ORCPT + 99 others); Mon, 3 May 2021 10:57:32 -0400 Received: from mga11.intel.com ([192.55.52.93]:46980 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbhECO5c (ORCPT ); Mon, 3 May 2021 10:57:32 -0400 IronPort-SDR: KxQsdmD2Xnw4wMDFHhAUWP77swj1/8kOj8ZF2nFfV88aGbX6KHyuiGjTenA0wdS1ekxWWAOHww VRAsOckh+nIw== X-IronPort-AV: E=McAfee;i="6200,9189,9973"; a="194614527" X-IronPort-AV: E=Sophos;i="5.82,270,1613462400"; d="scan'208";a="194614527" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2021 07:56:39 -0700 IronPort-SDR: RE/xa3+o+iHwkdx65ezadGIgFW85JCcG0zwz3wNxR5kLyBF+8N0Db864L+r0AY+adPMo8sJ5pN mL4Pr4mXBz1w== X-IronPort-AV: E=Sophos;i="5.82,270,1613462400"; d="scan'208";a="428397588" Received: from tassilo.jf.intel.com ([10.54.74.11]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2021 07:56:39 -0700 Date: Mon, 3 May 2021 07:56:37 -0700 From: Andi Kleen To: Adrian Hunter Cc: Arnaldo Carvalho de Melo , Jiri Olsa , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf record: Set timestamp boundary for AUX area events Message-ID: <20210503145637.GN4032392@tassilo.jf.intel.com> References: <20210503064222.5319-1-adrian.hunter@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210503064222.5319-1-adrian.hunter@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 03, 2021 at 09:42:22AM +0300, Adrian Hunter wrote: > AUX area data is not processed by 'perf record' and consequently the > --timestamp-boundary option may result in no values for "time of first > sample" and "time of last sample". However there are non-sample events > that can be used instead, namely 'itrace_start' and 'aux'. > 'itrace_start' is issued before tracing starts, and 'aux' is issued > every time data is ready. Hmm, what happens when some other non PT events are in the same perf record? And those maybe run at different times than PT (e.g. due to some PT specific filter). Does this all work correctly then? -Andi