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] [day] [month] [year] [list]
Date:	Sat, 21 Mar 2009 17:26:30 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Steven Rostedt <rostedt@...dmis.org>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Frédéric Weisbecker <fweisbec@...il.com>,
	Arjan van de Ven <arjan@...radead.org>,
	Paul Mackerras <paulus@...ba.org>
Subject: Re: [PATCH][GIT PULL] tracing: add function profiler


* Steven Rostedt <rostedt@...dmis.org> wrote:

> > If you want exact function count profiling we could try to do 
> > something perf counter based, eg. stick a software counter in 
> > the mcount thingy.
> 
> I'd like to get the function graph version working, in order to 
> calculate the times spent in each funtion, then I can see how we 
> can (if possible) convert it over to perf counters. :-/

the perf counters angle is definitely worth pursuing (for 
completeness of the scheme Peter is working on), but please lets not 
throw the baby out with the bath water: in-kernel histogram 
collection has real value.

It's _much_ faster than any user-space counter-part, especially for 
such things as branch tracing or function tracing.

	Ingo
--
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