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: <20080417125701.83849f30.akpm@linux-foundation.org>
Date:	Thu, 17 Apr 2008 12:57:01 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	hch@...radead.org, penberg@...helsinki.fi,
	linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
	arjan@...radead.org, John Levon <levon@...ementarian.org>,
	Philippe Elie <phil.el@...adoo.fr>
Subject: Re: [v2.6.26] what's brewing in x86.git for v2.6.26

On Thu, 17 Apr 2008 20:51:58 +0200
Ingo Molnar <mingo@...e.hu> wrote:

> 
> * Andrew Morton <akpm@...ux-foundation.org> wrote:
> 
> > afaik the sysprof-vs-oprofile issue still hasn't been settled.  Maybe 
> > it's no longer a relevant question with the new code - I just don't 
> > know. Everything went all quiet and then this stuff happened.
> 
> i dont think there's any big issue here. Sysprof is a time and stack 
> system-wide tracer/profiler, oprofile profiles CPU events - deep 
> stacktracing is an afterthought there. And how do you set up oprofile to 
> do precise time events?
> 
> with sysprof you can do:
> 
>   cd /sys/kernel/debug/tracing
>   echo sysprof > current_tracer
>   cat trace_pipe
> 
> and you'll see the trace events go by, live. The user-space bits of 
> sysprof have been ported over to ftrace/sysprof already and it's a 
> really nice tool that shows a deep stack-trace based hierarchical 
> "vertical" profile instead of the usual finegrained profile.

Well that's all good to hear but I don't know where you're getting your
information from.  In the past month and a half I've seen zero email from
Soeren and a single ftrace-related patch.

So right now I do not have enough information to understand what ftrace
does, let alone to compare it with oprofile.

And this is a problem.  I, probably more than anyone else, work with bug
reporters on kernel problems and I am not in a position to be able to
direct them to use an important new tool.  There isn't even a documentation
file I can point them at.

I'd imagine that a large number of the current kernel development team only
vaguely know of ftrace's existence, let alone how to use it and what its
advantages are.  So they just won't use it.

> It certainly helps that the author of the tracer plugin (Soeren 
> Sandmann) is the author of the userspace app too - so there's a rather 
> well-working feedback loop here ;-)
> 
> With oprofile all these things are rather indirect, the API is more 
> complex, it forces per-CPU buffers, etc. etc. I think for 
> instrumentation the driving force must be usability, and sysprof/ftrace 
> is hands down more usable - to me at least.

Well.  You know how to use it.

John, Phillippe: have you had a chance to take a look at the latest ftrace
code?

Thanks.
--
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