Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1782971ybz; Thu, 30 Apr 2020 05:31:56 -0700 (PDT) X-Google-Smtp-Source: APiQypLGGkt+Kc1YSesHq0pfDjfyGdeDd92xyUa2ArhdpxmczgaOwvWHHdxQskWRZNaLaOj3bjbv X-Received: by 2002:aa7:d306:: with SMTP id p6mr2349952edq.35.1588249916393; Thu, 30 Apr 2020 05:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588249916; cv=none; d=google.com; s=arc-20160816; b=xEn0UybLr08rQnynVZ+Pu6fSd5SwCCQzur6s2g4EeJkXTtP7g5WS8JWZI/q8lc+nb/ 22dryA3XWjEjC874z/B10Y1SoY7tu3F33vc77Su6krB415lvNtq9PsbsRUVmtV5335Tj moV8S9FLz0uw7MCpr5i1gVo1evLKrihrb3LexkF9wbt926R7R9BUOpj9d1C1DRa/Fsr9 G9qW718ivhACY6/Totb7b5GDpgavba8YdcNsfvhCny0kp7t+jFrAuvcuTuPsInI57iwI VmUmIv5dWmZxEhLcz7soLU8njtXkV78w/TKdRlrzGmjGYiOE5aDvTZMglvVkSkazTKs3 B+Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=laOjq+kiYii67Yjkyo4Z0pRiMCYC3bcFPdbIl9Fs9NU=; b=T7f+FMKfxsxvPxfylin/dnunTP4ZUQIbBZsslXOHEKvzWdY6JS4Q0TtHK0aDWva/qw Y4D2Jxjj7J+GXIBPUaB3lHkGg1upO9QsjWX54Z75tSJtUAm4zT4VQTyEtp5viH/gliir Vng9LahqzjfiKT3mySc7Q+Tc2SbxG6jP0ynK8k6fq46RTl4bhtDf2vCARkWW99G5K+mN D5QCEq4YFJBa7czkqIIjAgex8LxiUvU4fHeFCCJEL1kVD0spI1xwwwq0CMQOZg0uNWoJ djf+0DJkxJUDyZsWM40h5MDh0wcQJma8nzEWwuY7lVHJY+Iz9QREI9OMx+JTX6HSRujD yDWQ== 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 di18si5037684edb.471.2020.04.30.05.31.33; Thu, 30 Apr 2020 05:31:56 -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 S1726684AbgD3M3F (ORCPT + 99 others); Thu, 30 Apr 2020 08:29:05 -0400 Received: from mga01.intel.com ([192.55.52.88]:60995 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgD3M3F (ORCPT ); Thu, 30 Apr 2020 08:29:05 -0400 IronPort-SDR: qSVaK0BMnsHcN4YRcza5qNc79crZW/g6x09WG95ugX9ESf6QUqGhUBjw9rTa9HDUYYQ2c/dk/0 lqpyekd46OfA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2020 05:28:58 -0700 IronPort-SDR: 6YSFMBYXwpyyXlV/vNuHpYZr8IU+P06e7otUPiRm/OpihspGoC2H+YvkzZJeP89mfL2WL7tcLt VskZaNDBg2qQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,334,1583222400"; d="scan'208";a="368130860" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga001.fm.intel.com with ESMTP; 30 Apr 2020 05:28:58 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 20C82301AAA; Thu, 30 Apr 2020 05:28:58 -0700 (PDT) Date: Thu, 30 Apr 2020 05:28:58 -0700 From: Andi Kleen To: Adrian Hunter Cc: Arnaldo Carvalho de Melo , Jiri Olsa , linux-kernel@vger.kernel.org Subject: Re: [PATCH 8/9] perf intel-pt: Update documentation about itrace G and L options Message-ID: <20200430122858.GD874567@tassilo.jf.intel.com> References: <20200429150751.12570-1-adrian.hunter@intel.com> <20200429150751.12570-9-adrian.hunter@intel.com> <20200429230356.GB874567@tassilo.jf.intel.com> <0938999b-00c0-25cf-9a87-a7abc1cbac1c@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0938999b-00c0-25cf-9a87-a7abc1cbac1c@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > > On Skylake/Goldmont the PEBS event contains the TSC and the time stamp reported by > > perf should report the time the event was sampled based on that TSC. > > Or is that not working for some reason? > > I guess it is not working like that, but perf tools would probably need > special rules to sort the events because the they would break the rules of > PERF_RECORD_FINISHED_ROUND, wouldn't they? Yes it may violate finished round. It should not be delayed longer than the next context switch though. The documentation warning would be still correct, but only on Broadwell. -Andi