Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1155615ybz; Wed, 29 Apr 2020 16:07:54 -0700 (PDT) X-Google-Smtp-Source: APiQypJKYTV/GNVRvz6s09T4Eoaww/ON45bNDxjFtCN0pEicF39tvFsit8r0vFw8XR9MpPJLTB0Z X-Received: by 2002:a17:906:b2c2:: with SMTP id cf2mr132314ejb.262.1588201674543; Wed, 29 Apr 2020 16:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588201674; cv=none; d=google.com; s=arc-20160816; b=c3Wh0ev9nFP5QAbCIbQ+PFZ2nsuGNmAs4SfgzyBnx75iYEp0dnge/YgC6kuQ72yNAT twXuSsQhjrLxZihir5NtXuJKegAOIhU62WDdyCIyFLB87hcg522ID39sSkpUMNJnVXrj KVqk5Yxr254gJdPdh9OEmvPZjQ2+1jeftmbLw57GHs4eWr38zCo2J0FSoLAOwyztBWO1 eqZWKF8u9IyWlpiSvR5wmtAyy9p3/xieBE1BrWffIDcPDJPUIr5Hyu33pfCJ70x8XvOL ejlCO9d8VRGDtCzYQDY22HzkeOi79PHKxMrQY0sfPJrDbBbuFVWlaXdTwg+YOU9RTThV n7GA== 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=O5jcHDnMbQzumm2w5u48oOaTDg9viuHHol6DS/NCgwE=; b=QNgJPQ/l38837Xkv23Se3AjrS3V6w0xRFxQkesWajrKBacSjNbStaybYj9FY5VREQM jLsIiXRnX+6aLU8CJlYMHoW2p83Ce0M9deyLtch2s+XhWHrMu77alNPewOElplMaNwix Cj5o+HmsdshEn/ez1wfkihapp9k9+AQju+CHPmOWUY+npCIdQJ2TUXN60N2K5OuacZYs Tr1JF6d3LaEJ/3n7ENciKxOyCE/+wIFNSI7Rnt+k1XpVDoiT1XUE4v88GnQGNH33pk4n xFHlVRnOgaABxaxgWCiUAlCyxPzZClXlrwgSCM9W9Dr2osvynQkd7cHKCzxapd20xUTN FxCw== 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 v24si4615795eja.257.2020.04.29.16.07.31; Wed, 29 Apr 2020 16:07:54 -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 S1727070AbgD2XD5 (ORCPT + 99 others); Wed, 29 Apr 2020 19:03:57 -0400 Received: from mga17.intel.com ([192.55.52.151]:35874 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbgD2XD5 (ORCPT ); Wed, 29 Apr 2020 19:03:57 -0400 IronPort-SDR: 5+4gyuwOSaNd/bKetSz38/CFPhvkrw5g4pPwgyMS3k+q2+rugXXvBRKNUsh2J5k73R/DxHAiEH 4vCnXYoamYGg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 16:03:56 -0700 IronPort-SDR: HEWSbOYZhHWZs3EibEmYMjXE6Bdy7kdDjOJ/N6xw9YHSmehbNHhiwNFMAMFQGRiSb4AnVA5J4W S+pChSQH7+Dg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,333,1583222400"; d="scan'208";a="258111219" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga003.jf.intel.com with ESMTP; 29 Apr 2020 16:03:56 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 19E10301AAA; Wed, 29 Apr 2020 16:03:56 -0700 (PDT) Date: Wed, 29 Apr 2020 16:03:56 -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: <20200429230356.GB874567@tassilo.jf.intel.com> References: <20200429150751.12570-1-adrian.hunter@intel.com> <20200429150751.12570-9-adrian.hunter@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200429150751.12570-9-adrian.hunter@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +One caveat with the G and L options is that they work poorly with "Large PEBS". > +Large PEBS means PEBS records will be accumulated by hardware and the written > +into the event buffer in one go. That reduces interrupts, but can give very > +late timestamps. Because the Intel PT trace is synchronized by timestamps, Are you refering to Broadwell here? 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? -Andi