Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1623748ybt; Thu, 9 Jul 2020 11:15:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ8SHkCoOK+1fEuxdX64DkuAlTmbMtrrm1lH8dGpnYiwBcdj7MJuA+fcKYQg6N9yvLaZd9 X-Received: by 2002:a50:9e02:: with SMTP id z2mr70848723ede.87.1594318530349; Thu, 09 Jul 2020 11:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594318530; cv=none; d=google.com; s=arc-20160816; b=E2MvEZkrgn7W6sCJ27xX3aCWbSMfg+cFqLil2RE8HLU/kC8v0697n8dXWR8AARcWqN JYkZQJTDbPaxghZQjtTL50vC2L9egZQk9EkWf2DvFa1frdjuhvurpNyUD3ajpwhfRbaw zTpJrLJPkGxGMq6B0cdTaeB7UpfDHLjMRLPs+TC/l2ueMi62oE+Vv1yYQTGZT1l/DCwe PWyzh3ZxGLe3i34JHVNfNP1g9N+4OqkhEYl3Z72yz+O7qV4yP9WO5ZAVvx9U8dvpoX3d /bcfNfSatimMs/wrVJSCWXjeaLG6kchO3uIYjAP3UxXyGxIxJzM72/X/vn4YTVf5ix7y 2jbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject:ironport-sdr :ironport-sdr; bh=Qm1xazfpyufs5iRy0ifa0yTGjE1Hvi1B25Z03wXqURQ=; b=BubdJ3/KFxBV0cC8QoGnp4QpRCYYmYKOhPQFcxmxYBHE9trIg1xocB6Hp9uDeU5IhD a+uo65sKC9M0/NY6U1Hn+WxrUe8RXgS9Mh50cwnXNVm2qliHgZjntn07dX+UJ3efZ3fm guurVPLwmOFHHYzXragiQC5cGWpO3gwtgTcGwNRdG+RTfFtaYkXl0nHdIFMNOMFNddm7 28UfKJqsm5ZeiVa4/2TkOBlu+YGO3l+ZogceWPFjFlVVkJ68BsXSuL/IY00Dj915mWBI H/wuNByDF633OLAzg8Tz6w1GBvFBxBr67GwoQ/9sqiNLSkmo8kPBZ3/EClDF9UQTNlxB VTng== 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 f1si2277763eje.610.2020.07.09.11.15.06; Thu, 09 Jul 2020 11:15:30 -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 S1726942AbgGISOW (ORCPT + 99 others); Thu, 9 Jul 2020 14:14:22 -0400 Received: from mga05.intel.com ([192.55.52.43]:55994 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726684AbgGISOW (ORCPT ); Thu, 9 Jul 2020 14:14:22 -0400 IronPort-SDR: PyMEWeA7NzssZmOeKHCRKmZjhc9Lg4zfvSn+qCpS8WiQgPcB6/JQ4I9DhTHNmdMcVJlCPN1STL vfyFGKl/WB8Q== X-IronPort-AV: E=McAfee;i="6000,8403,9677"; a="232939657" X-IronPort-AV: E=Sophos;i="5.75,332,1589266800"; d="scan'208";a="232939657" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2020 11:14:21 -0700 IronPort-SDR: mFl7tvzao2b3S+WOOm7EWaDgKCEOqP556h7rRjXy2n17GoOlSWUOaMw7fqxanx3U7Jnj7m54xx 2CgmiOdsFUdg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,332,1589266800"; d="scan'208";a="458000250" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.73]) ([10.237.72.73]) by orsmga005.jf.intel.com with ESMTP; 09 Jul 2020 11:14:20 -0700 Subject: Re: [PATCH 05/11] perf intel-pt: Use itrace error flags to suppress some errors To: Andi Kleen Cc: Arnaldo Carvalho de Melo , Jiri Olsa , linux-kernel@vger.kernel.org References: <20200709173628.5613-1-adrian.hunter@intel.com> <20200709173628.5613-6-adrian.hunter@intel.com> <20200709175046.GA1126680@tassilo.jf.intel.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <3271e2cf-490b-5391-19e0-e1b019bfba1f@intel.com> Date: Thu, 9 Jul 2020 21:13:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <20200709175046.GA1126680@tassilo.jf.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/07/20 8:50 pm, Andi Kleen wrote: > 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] Do you mean literally square-brackets? If you were really unlucky you might get pathname expansion with that. > > Also it's a bit unusual that this disables instead of enables, but ok. > > -Andi >