[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160602142610.GD13997@two.firstfloor.org>
Date: Thu, 2 Jun 2016 07:26:10 -0700
From: Andi Kleen <andi@...stfloor.org>
To: Nilay Vaish <nilayvaish@...il.com>
Cc: Andi Kleen <ak@...ux.intel.com>, Andi Kleen <andi@...stfloor.org>,
acme@...nel.org, jolsa@...nel.org,
Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/4] perf stat: Add computation of TopDown formulas
On Thu, Jun 02, 2016 at 06:56:51AM -0500, Nilay Vaish wrote:
> Andi, I am talking about the if statement. I don't know why it would
> happen that nothing got measured. I am guessing you saw it happen.
> May be we can add a comment in the patch that it is possible that all
> counter values are zero and therefore we need that if statement.
Sure it can happen that nothing got measured, for example if the program
didn't run, or the group didn't get scheduled.
-Andi
Powered by blists - more mailing lists