From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938785AbcJXJmj (ORCPT ); Mon, 24 Oct 2016 05:42:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37576 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755895AbcJXJmg (ORCPT ); Mon, 24 Oct 2016 05:42:36 -0400 Date: Mon, 24 Oct 2016 11:42:31 +0200 From: Jiri Olsa To: Ingo Molnar Cc: Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Linux Weekly News , Andi Kleen , David Ahern , Don Zickus , Jiri Olsa , Joe Mario , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo Subject: Re: [GIT PULL 00/52] New Tool: perf c2c Message-ID: <20161024094231.GA23322@krava> References: <1476975876-2522-1-git-send-email-acme@kernel.org> <20161022082806.GA4526@gmail.com> <20161023110542.GA15618@krava> <20161024092327.GA15012@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161024092327.GA15012@gmail.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 24 Oct 2016 09:42:35 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 24, 2016 at 11:23:28AM +0200, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > > If I do 'perf report' I get two events: > > > > > > Available samples > > > 24K cpu/mem-loads,ldlat=30/P > > > 45K cpu/mem-stores/P > > > > > > and both have some real data. > > > > > > What am I missing? > > > > hm, most likely you did not generate any remote HITMs.. if it was on the laptop? > > Yeah. > > > you might get some results for local HITMs with -d option: > > > > $ perf c2c report -d lcl > > > > the default display/filter is for Remote HITMs.. perhaps we could be > > smart enough and switch to local when we found no data for remote > > Yeah, this did the trick. > > Could we please make sure there's always actionable output by the tool? I.e. it > should either clearly refuse to work (due to lack of hw), or it should produce > something meaningful. ok, will do thanks, jirka