From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755753AbcK2S6T (ORCPT ); Tue, 29 Nov 2016 13:58:19 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:35782 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755686AbcK2S6H (ORCPT ); Tue, 29 Nov 2016 13:58:07 -0500 Subject: Re: [PATCH v2 4/6] perf sched timehist: Add option to specify time window of interest To: Arnaldo Carvalho de Melo , David Ahern References: <1480439746-42695-1-git-send-email-dsahern@gmail.com> <1480439746-42695-5-git-send-email-dsahern@gmail.com> <20161129185635.GC23423@kernel.org> Cc: mingo@kernel.org, peterz@infradead.org, namhyung@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org From: David Ahern Message-ID: Date: Tue, 29 Nov 2016 11:58:03 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <20161129185635.GC23423@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/29/16 11:56 AM, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 29, 2016 at 10:15:44AM -0700, David Ahern escreveu: >> Add option to allow user to control analysis window. e.g., collect data >> for time window and analyze a segment of interest within that window. > Trying to test this I got: > > [root@jouet ~]# perf sched timehist > No trace sample to read. Did you call 'perf record -R'? > [root@jouet ~]# > > Could you please provide a better error message? sure, but that error is unrelated to this patch set. > > The perf.data file had this: > > [root@jouet ~]# perf evlist -v > cycles:ppp: size: 112, { sample_period, sample_freq }: 4000, sample_type: IP|TID|TIME|CALLCHAIN|CPU|PERIOD, disabled: 1, inherit: 1, mmap: 1, comm: 1, freq: 1, task: 1, precise_ip: 3, sample_id_all: 1, exclude_guest: 1, mmap2: 1, comm_exec: 1 > [root@jouet ~]#