Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754319AbZKVCv6 (ORCPT ); Sat, 21 Nov 2009 21:51:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754167AbZKVCv6 (ORCPT ); Sat, 21 Nov 2009 21:51:58 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:64854 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750804AbZKVCv5 (ORCPT ); Sat, 21 Nov 2009 21:51:57 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=MPOtZrufIxr0ojzNatUikoEb9Q21Ag+I9p8/lrrkj51M51q/fWqJb+dMaMeRUVJDgo orTk1KVCj0mL/WYa2AJGqSGymf2trs1oPPm/Psw8exF33hFaMlK10eYAyqUSyPrVAY3p QGA07YKefZ2TYowYCaMIfh2e2hft+QFR7MIsY= Date: Sun, 22 Nov 2009 03:52:00 +0100 From: Frederic Weisbecker To: "K.Prasad" Cc: Ingo Molnar , LKML , Steven Rostedt , Alan Stern , Andrew Morton , Paul Mackerras Subject: Re: [RFC Patch 4/5] PERF-HW_HBKPT: Enable perf-events to use hw-breakpoints Message-ID: <20091122025158.GB6572@nowhere> References: <20091029220551.166918079@linux.vnet.ibm.com> <20091029222223.GE14906@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091029222223.GE14906@in.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 907 Lines: 25 On Fri, Oct 30, 2009 at 03:52:23AM +0530, K.Prasad wrote: > Enable perf-events to collect memory access statistics on kernel-space > data in the context of a running process. > > Signed-off-by: K.Prasad I'm going to take the userspace part of this patch to integrate breakpoints in perf tools. But I'm not sure passing the name of the symbol to the kernel and store it in the perf attr is a good idea. We should probably resolve the name from userspace and pass the address to the kernel. Mostly because if we want to support breakpoints in userspace apps, we don't want conflicts between kernel and userspace symbols. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/