Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758769Ab1ELVfz (ORCPT ); Thu, 12 May 2011 17:35:55 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:50065 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757879Ab1ELVfy (ORCPT ); Thu, 12 May 2011 17:35:54 -0400 Date: Thu, 12 May 2011 23:35:42 +0200 From: Ingo Molnar To: Stephane Eranian Cc: Linus Torvalds , Arnaldo Carvalho de Melo , LKML Subject: Re: [BUG] perf: bogus correlation of kernel symbols Message-ID: <20110512213542.GB17596@elte.hu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 26 * Stephane Eranian wrote: > The other contradiction, I see, is that you have perf_event paranoia level > and this new kptr masquerading feature which conflict with each > other. > > You can be allowed to monitor at the kernel level (paranoid=1, default) > but you cannot correlate symbols: > > $ perf record -e cycles:k foo > > I suspect if you have this kptr thing turned on, then you need to disallow > monitoring at the kernel level too. The better (and consistent) solution would be to turn the kptr_restrict thing off - see the patch i sent. Thanks, Ingo -- 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/