lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150601130223.GA9846@krava.redhat.com>
Date:	Mon, 1 Jun 2015 15:02:23 +0200
From:	Jiri Olsa <jolsa@...hat.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	acme@...nel.org, linux-kernel@...r.kernel.org, namhyung@...nel.org,
	eranian@...gle.com, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 04/10] perf, tools, report: Add processing for cycle
 histograms

On Tue, May 26, 2015 at 07:37:30PM +0200, Andi Kleen wrote:
> > hum, so this is assuming that having cycles fort 1st entry
> > means there'll be for the rest?
> > Also in that case why is there the '!= cycles' check within
> > addr_map_symbol__account_cycles ?
> >
> It means there might be. It's just a short cut. But rarely
> branches may still have 0 cycles, so it still needs to be
> checked later.
> 
> In theory it could miss a valid one if the first happened
> to be zero, but that seems very unlikely.

so having 'bs->entries[0].flags.cycles' is the only way
of knowing that we have the feature enabled?

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ