From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751436AbdBBKQc (ORCPT ); Thu, 2 Feb 2017 05:16:32 -0500 Received: from mga06.intel.com ([134.134.136.31]:48355 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbdBBKQa (ORCPT ); Thu, 2 Feb 2017 05:16:30 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,324,1477983600"; d="scan'208";a="38710114" From: Alexander Shishkin To: Ingo Molnar Cc: Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, vince@deater.net, eranian@google.com, Arnaldo Carvalho de Melo , Borislav Petkov , Thomas Gleixner Subject: Re: [PATCH 2/2] perf/x86/intel/pt: Allow disabling branch tracing In-Reply-To: <87lgtpambe.fsf@ashishki-desk.ger.corp.intel.com> References: <20170127151644.8585-1-alexander.shishkin@linux.intel.com> <20170127151644.8585-3-alexander.shishkin@linux.intel.com> <20170201101704.GA450@gmail.com> <87lgtpambe.fsf@ashishki-desk.ger.corp.intel.com> User-Agent: Notmuch/0.23.3 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Thu, 02 Feb 2017 12:14:14 +0200 Message-ID: <87inosaoi1.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alexander Shishkin writes: > @@ -72,12 +77,14 @@ static struct pt_cap_desc { > PT_CAP(mtc_periods, 1, CPUID_EAX, 0xffff0000), > PT_CAP(cycle_thresholds, 1, CPUID_EBX, 0xffff), > PT_CAP(psb_periods, 1, CPUID_EBX, 0xffff0000), > + PT_CAP(passthrough, PT_SW_CAP, 0, 1), Thinking some more: we don't actually need this as the format string already serves this purpose. Regards, -- Alex