Re: [RFC 4/5] x86, perf: implements lwp-perf-integration (rc1)

Robert Richter
2011-12-19T09:09:35Z

On 19.12.11 00:43:10, Ingo Molnar wrote:
> So the question becomes, how well is it integrated: can
> perf 'record -a + perf report', or 'perf top' use LWP,
> to do system-wide precise [user-space] profiling and such?

There is only self-monitoring of a process possible, no kernel and
system-wide profiling. This is because we can not allocate memory
regions in the kernel for a thread other than the current. This would
require a complete rework of mm code.

-Robert

--
Advanced Micro Devices, Inc.
Operating System Research Center