From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752658AbbFSQWu (ORCPT ); Fri, 19 Jun 2015 12:22:50 -0400 Received: from mail.kernel.org ([198.145.29.136]:59740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114AbbFSQWm (ORCPT ); Fri, 19 Jun 2015 12:22:42 -0400 Date: Fri, 19 Jun 2015 13:22:32 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Jiri Olsa Subject: Re: [PATCH V6 08/17] perf tools: Add Intel PT support Message-ID: <20150619162232.GB31188@kernel.org> References: <1432906425-9911-1-git-send-email-adrian.hunter@intel.com> <1432906425-9911-9-git-send-email-adrian.hunter@intel.com> <20150619160451.GM3079@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150619160451.GM3079@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Jun 19, 2015 at 01:04:51PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, May 29, 2015 at 04:33:36PM +0300, Adrian Hunter escreveu: > > Add support for Intel Processor Trace. > > > > Intel PT support fits within the new auxtrace infrastructure. > > Recording is supporting by identifying the Intel PT PMU, > > parsing options and setting up events. Decoding is supported > > by queuing up trace data by cpu or thread and then decoding > > synchronously delivering synthesized event samples into the > > session processing for tools to consume. > > So, at this point what commands should I use to test this? I expected to > be able to have some command here, in this changeset log, telling me > that what has been applied so far + this "Add Intel PT support", can be > used in such and such a fashion, obtaining this and that output. > > Now I'll go back and look at the cover letter to see what I can do at > this point and with access to a Broadwell class machine. Trying to test something at this point: [root@perf4 ~]# find /sys -name "*intel_pt*" /sys/bus/event_source/devices/intel_pt /sys/devices/intel_pt [root@perf4 ~]# perf record -e intel_pt//u ls invalid or unsupported event: 'intel_pt//u' Run 'perf list' for a list of valid events usage: perf record [] [] or: perf record [] -- [] -e, --event event selector. use 'perf list' to list available events [root@perf4 ~]# uname -a Linux perf4 4.1.0-rc8 #1 SMP Tue Jun 16 19:47:25 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux [root@perf4 ~]# The kernel seems to have the intel_pt stuff and what I have in the tooling side is at my tmp.perf/pt branch, will continue after lunch. - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/