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]
Date:	Fri, 13 Apr 2012 14:41:29 +0200
From:	Jiri Olsa <jolsa@...hat.com>
To:	David Ahern <dsahern@...il.com>
Cc:	acme@...hat.com, a.p.zijlstra@...llo.nl, mingo@...e.hu,
	paulus@...ba.org, cjashfor@...ux.vnet.ibm.com, fweisbec@...il.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] perf, tool: Force guest machine definition option

On Fri, Apr 13, 2012 at 06:21:54AM -0600, David Ahern wrote:
> On 4/13/12 5:32 AM, Jiri Olsa wrote:
> >>Even with guestmount specified you can hit this path -- e.g., no
> >>pid-based directory under guestmount for a VM.
> >
> >hm, something's wrong anyway..
> >
> >[root@...p-26-214 perf]# ./perf kvm --guest --guestkallsyms=./kallsyms record -p 1791
> >^C[ perf record: Woken up 1 times to write data ]
> >[ perf record: Captured and wrote 0.013 MB perf.data.guest (~576 samples) ]
> >[root@...p-26-214 perf]# ./perf kvm --guest --guestkallsyms=./kallsyms report --stdio
> >Segmentation fault (core dumped)
> >
> >it segfaults on guest mmap (attached bt) having NULL machine,
> >since no guest kernel buildid/dso was stored&loaded..
> >the host/guest machines code seems too 'complex' ;)
> 
> That was fixed on Monday I believe. Patch is in Arnaldo's urgent queue.

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 <nikunj@...ux.vnet.ibm.com>
Date:   Mon Apr 9 13:52:23 2012 +0530

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.

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