[lkml]   [2012]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/3] perf, tool: Force guest machine definition option
On 4/13/12 6:41 AM, Jiri Olsa wrote:
> I get same error even on acme's urgent branch.. do you mean
> below one? It fixes the guest machine lookup for mmap event.
> perf kvm: Finding struct machine fails for PERF_RECORD_MMAP
> commit 7fb0a5ee8889488f7568ffddffeb66ddeb50917e
> Author: Nikunj A. Dadhania<>
> Date: Mon Apr 9 13:52:23 2012 +0530

That's the one I was referring to.

> In my case it looks like for some reason the guest buildid DSO
> is not stored in record phase (no hits maybe?), so report won't
> create guest machine record at all and get NULL machine.

I see now -- different problem, but similar in that it's an mmap event
and the pid is 0.

I need to take my daughter to school and won't get back to this for a
while but what I am seeing is that on perf-record mmap events are
generated with pid set to DEFAULT_GUEST_KERNEL_ID = 0

On the report side a machine has not been created for pid of 0, so the
look up in perf_session__find_machine_for_cpumode fails.


 \ /
  Last update: 2012-04-13 16:19    [W:0.061 / U:1.896 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site