From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755868AbcK2TVj (ORCPT ); Tue, 29 Nov 2016 14:21:39 -0500 Received: from mail.kernel.org ([198.145.29.136]:49238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbcK2TVb (ORCPT ); Tue, 29 Nov 2016 14:21:31 -0500 Date: Tue, 29 Nov 2016 16:21:26 -0300 From: Arnaldo Carvalho de Melo To: David Ahern Cc: Arnaldo Carvalho de Melo , David Ahern , mingo@kernel.org, peterz@infradead.org, namhyung@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/6] perf sched timehist: Add option to specify time window of interest Message-ID: <20161129192126.GE23423@kernel.org> References: <1480439746-42695-1-git-send-email-dsahern@gmail.com> <1480439746-42695-5-git-send-email-dsahern@gmail.com> <20161129185635.GC23423@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Nov 29, 2016 at 11:58:03AM -0700, David Ahern escreveu: > 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. I haven't said it was... 8-) This patchset is processed and pushed out, just doing a 'make -C tools/perf build-test' + perf test + build on lots of containers pass before sending a pull req to Ingo, - Arnaldo > > > > 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 ~]#