Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1238316ybl; Tue, 13 Aug 2019 09:24:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDlWGyhYav7rCwWMOZB2395kgBBkZdgD2j6immhoSALQSI+BgYt+FSSfqpv5Lp6zAfif6l X-Received: by 2002:a17:90a:1110:: with SMTP id d16mr3051568pja.29.1565713455328; Tue, 13 Aug 2019 09:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565713455; cv=none; d=google.com; s=arc-20160816; b=Sf23xXPeS6LCJYxsL4O78gUZ8Fz6sq9TdGvalONlZZvhSm4a+e2Vqai6v0IZD31cCU TDu8SCh6/5TeAmadEcTxJFPr2zU5hIuaf7NVgCXAl6oaQ7mdvA/lsTg9MXwNAh1jATlK /ZvkRFKdOSOTtKmNtINu2Y52oJjKMByC+kY2KrsH2vJMq0GLUVF1b7+QYvD6+UWzfBf3 bqIOeoc+aGktos3QdEhNPh9dAcT8GJaqVxdRMqDFhZOI9+Uv9E9qXGtXva6vIawDajJm D3rbyW63+DuKqjDnmFOLcf83oJiKA6qaC3RjLV8qHXmdcRwkjejQ2Pj8YCrdGmUBt41e 4D6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=8OXY/25m8BnoRmqKHLRaf89//xPfaTsWfHreIrEG/H8=; b=ifsfdeOJDUj9KXF14QMVtYVy2eDv46au4hOu3+rt6ShBsCEeuH4JXe5tZiX3S+OUQb Uz2OluGgkSBrnr44Sfpb6hkWbf6Jk2cW19rsIYVgep3I3UipcgBykUFM75oVBP4gGmHD 8xheATbC9gcad8SR15JCmbOJP0D01FJLnnKdtzqYmpV4vYOJVrsZ1cpxuYht4i2r6LV2 Ai6zFGaIBarxuZMbNTavl/K5JcnHsiv+mLEFyBgAW8ismNkM/PUqiq71b+DzjV7RARVL 4AQw14nyKKA8gXeGmZRi8Xuso0A6byGLijS3GkcEMcbSf4yLWL3i5+4wmG5c8XhcnGMU j3Fg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id c13si1182867pjo.75.2019.08.13.09.23.59; Tue, 13 Aug 2019 09:24:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728550AbfHMQVo (ORCPT + 99 others); Tue, 13 Aug 2019 12:21:44 -0400 Received: from mga18.intel.com ([134.134.136.126]:9598 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728172AbfHMQVn (ORCPT ); Tue, 13 Aug 2019 12:21:43 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Aug 2019 09:21:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,382,1559545200"; d="scan'208";a="205137067" Received: from um.fi.intel.com (HELO localhost) ([10.237.72.183]) by fmsmga002.fm.intel.com with ESMTP; 13 Aug 2019 09:21:39 -0700 From: Alexander Shishkin To: Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, kan.liang@linux.intel.com, Adrian Hunter , alexander.shishkin@linux.intel.com Subject: Re: [PATCH v6 7/7] perf intel-pt: Add brief documentation for PEBS via Intel PT In-Reply-To: <20190813141453.GB3754@redhat.com> References: <20190806084606.4021-1-alexander.shishkin@linux.intel.com> <20190806084606.4021-8-alexander.shishkin@linux.intel.com> <20190813135149.GA3754@redhat.com> <87imr12m9x.fsf@ashishki-desk.ger.corp.intel.com> <20190813141453.GB3754@redhat.com> Date: Tue, 13 Aug 2019 19:21:39 +0300 Message-ID: <87ftm52fzg.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnaldo Carvalho de Melo writes: > I've just blindly followed the provided documentation :) Yes, I should have checked it also before I sent it out. :) > So you say I should have tried this instead: > > # perf record -c 10000 -e '{intel_pt/branch=0/,cycles/aux-output/ppp}' uname Right. For the purposes of illustrating the error condition, you can probably drop the '-c ...' and 'branch=0' also, but either way is fine. > Error: > The 'aux_output' feature is not supported, update the kernel. Or it's not supported by the hardware. I don't think we make a distinction at the moment. You can tell if it's available from dmesg, but not otherwise. > # > > Or with leader sampling? > > # perf record -c 10000 -e '{intel_pt/branch=0/,cycles/aux-output/ppp}:S' uname Not sure if we should even allow this. Maybe Adrian can chime in. Thanks, -- Alex