From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with ESMTP id DEE086B0044 for ; Mon, 23 Nov 2009 09:37:12 -0500 (EST) Date: Mon, 23 Nov 2009 12:37:02 -0200 From: Arnaldo Carvalho de Melo Subject: Re: [RFC][PATCH 1/2] perf: Add 'perf kmem' tool Message-ID: <20091123143701.GC15547@ghostprotocols.net> References: <84144f020911200019p4978c8e8tc593334d974ee5ff@mail.gmail.com> <20091120083053.GB19778@elte.hu> <4B0657A4.2040606@cs.helsinki.fi> <4B06590C.7010109@cn.fujitsu.com> <20091120090353.GE19778@elte.hu> <20091120144215.GH18283@ghostprotocols.net> <20091120164110.GA24183@elte.hu> <20091120175228.GD27926@ghostprotocols.net> <20091123065110.GC31758@elte.hu> <1258960941.4531.19.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1258960941.4531.19.camel@laptop> Sender: owner-linux-mm@kvack.org To: Peter Zijlstra Cc: Ingo Molnar , Li Zefan , Pekka Enberg , Frederic Weisbecker , Steven Rostedt , Eduard - Gabriel Munteanu , LKML , "linux-mm@kvack.org" List-ID: Em Mon, Nov 23, 2009 at 08:22:21AM +0100, Peter Zijlstra escreveu: > On Mon, 2009-11-23 at 07:51 +0100, Ingo Molnar wrote: > > I havent tried this - is this really possible to do on an x86 box, with > > a typical distro? Can i install say Fedora PowerPC debuginfo packages on > > an x86 box, while also having the x86 debuginfo packages there? > > The best option would be to allow to specify a chroot parameter, where > we can specify the embedded root filesystem on out machine. yeah, I'm working now on a vmlinux_path, so that the symbol machinery in perf looks at /lib/module/`uname -r`/build/vmlinux, /usr/lib/debug/lib/modules/`uname -r`/vmlinux, ./vmlinux as a default or in getenv("VMLINUX_PATH") if set. Being able to specify a SYMTAB_PREFIX_PATH also should be possible. > I'm not even sure embedded distros even have this separate debug package > crazyness, you simply build the distro with or without debuginfo. Whatever crazyness people usually do to find the files with matching, richer symtabs we should support :) - Arnaldo -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org