Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1608016ybt; Thu, 9 Jul 2020 10:53:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY8wmwVahcasPTxKjhe1uDv6e6IxGmfrlTufUbWUNqRBNlIutsh/ksGdBg7EsBBkZR86Ry X-Received: by 2002:a17:906:5912:: with SMTP id h18mr58835707ejq.259.1594317211083; Thu, 09 Jul 2020 10:53:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594317211; cv=none; d=google.com; s=arc-20160816; b=LCZBE78GQGQ2SF3sQX/C4Xy2LtslO31sAnUDOKKPZ+Ywt45JEj7rUFvhoNE4f4wWu3 kUIOCKutwB8WkJuG40j6EaPuao4Jm4tSBNjru2dpxwZdCdP8xUE6RcvCYdfgIJtM/h3K RZe+PAXSPcMaoKexsVpFT0jsAsUBuhdRtiB8gXOyGJYpFt9gyy1C4cuK0WW93lS6TFJR wZ8LnAagr996p4xxRMWbV6fHyiQTj46GZEhOtkcpTjmgAZJ+s6IPPgc93AfpBSd/eYeE nb1O3vHv2g88v2mYJ1shT0JvO569Bauqyl1fHjfRobALKDxWHgGBXBM7i45jRXbg/7L5 T/8g== 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=P9Qmc36SDj9sJg9ip/iIfRsFP6dq0jWZ51QspjjjBcA=; b=AhyqTtDxiVa5bSqK54jCyQA+lKaGcLp9Q96/dVkKaK2JcJlQpW2CeqveYHEvW5GACC mlxog1R0iMyLq9FvL7XkB4VI4R8Zm5rWAqwpgp6JmQtjVJ/W2kKDzBTy8ArzkPZhl2j/ wzv52t9fnHWkLfl3D7Zr2EI7kW0E4ASk6R/RF7cmDA7GzYz7bcGsRowOtkAwr5uirUMg eE1nar8AN/QTu/SvEuxwJtoukZQ/V/H43vw/CLrBhN5oT8Tlhc0JYrv/lPshkS4l3T7y Is8LVBkJj3WS9Yj/1iJHfe50g8rcgWN9id7WmHRpLp4OHvpG5/+YyDpe1R1qm+bJIEZT djMQ== 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 d2si2290325edr.225.2020.07.09.10.53.08; Thu, 09 Jul 2020 10:53:31 -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 S1727856AbgGIRvA (ORCPT + 99 others); Thu, 9 Jul 2020 13:51:00 -0400 Received: from mga18.intel.com ([134.134.136.126]:59069 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726615AbgGIRvA (ORCPT ); Thu, 9 Jul 2020 13:51:00 -0400 IronPort-SDR: I99NEnhRfh65Jl+myeq0YMNq4oUsdg5GGrXSg2aSZviAe0BFS77R3NHbvNp3+lPhu5WT9GdmRd IdNUnaySSfhg== X-IronPort-AV: E=McAfee;i="6000,8403,9677"; a="135526757" X-IronPort-AV: E=Sophos;i="5.75,332,1589266800"; d="scan'208";a="135526757" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2020 10:50:46 -0700 IronPort-SDR: Q1cbkn/oy6GDcFfbk9aYyq3XvQKjy5SttoHDUZ/DIbBjDWN+UDS6Hc56JoHiJvsQdRQvU51lGW bcGMRVRky6wQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,332,1589266800"; d="scan'208";a="484363701" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga005.fm.intel.com with ESMTP; 09 Jul 2020 10:50:46 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 1C992301B2A; Thu, 9 Jul 2020 10:50:46 -0700 (PDT) Date: Thu, 9 Jul 2020 10:50:46 -0700 From: Andi Kleen To: Adrian Hunter Cc: Arnaldo Carvalho de Melo , Jiri Olsa , linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/11] perf intel-pt: Use itrace error flags to suppress some errors Message-ID: <20200709175046.GA1126680@tassilo.jf.intel.com> References: <20200709173628.5613-1-adrian.hunter@intel.com> <20200709173628.5613-6-adrian.hunter@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200709173628.5613-6-adrian.hunter@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 09, 2020 at 08:36:22PM +0300, Adrian Hunter wrote: > The itrace "e" option may be followed by a number which has the > following effect for Intel PT: > 1 Suppress overflow events > 2 Suppress trace data lost events > The values may be combined by bitwise OR'ing them. > > Suppressing those errors can be useful for testing and debugging > because they are not due to decoding. I suspect it will be useful to more than just decoding and debugging. But the number is not a nice user interface. How about e[....] like e[ol] Also it's a bit unusual that this disables instead of enables, but ok. -Andi