Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751601Ab2BNFXU (ORCPT ); Tue, 14 Feb 2012 00:23:20 -0500 Received: from mail-pz0-f46.google.com ([209.85.210.46]:63028 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027Ab2BNFXT (ORCPT ); Tue, 14 Feb 2012 00:23:19 -0500 Message-ID: <4F39EFBB.2010301@gmail.com> Date: Mon, 13 Feb 2012 22:23:07 -0700 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 MIME-Version: 1.0 To: Namhyung Kim , Joerg Roedel CC: Namhyung Kim , linux-kernel@vger.kernel.org, Ingo Molnar , Andi Kleen , Anshuman Khandual , Arun Sharma , Corey Ashford , Frederic Weisbecker , Jason Wang , Jiri Olsa , Lin Ming , Paul Mackerras , Peter Zijlstra , Roberto Agostino Vitillo , Robert Richter , Stephane Eranian , Thomas Gleixner , Vince Weaver , arnaldo.melo@gmail.com, Arnaldo Carvalho de Melo Subject: Re: [GIT PULL 00/16] perf/core improvements and fixes References: <1329184375-27911-1-git-send-email-acme@infradead.org> <4F39CBE0.6050806@gmail.com> <4F39D00D.2060206@gmail.com> <4F39ECDB.5090609@lge.com> In-Reply-To: <4F39ECDB.5090609@lge.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 833 Lines: 25 On 2/13/12 10:10 PM, Namhyung Kim wrote: >> > > It happened because I used old kernel version that isn't aware of the > exclude_guest bit. So the check on attr->__reserved_1 in > core.c::perf_copy_attr() failed and then ended up seeing EINVAL at > perf_evsel__open(). comes back to 1aed2671738785e8f5aea663a6fda91aa7ef59b5 again. See https://lkml.org/lkml/2012/2/8/234 > > So I think it should be handled in the same way of handling > sample_id_all bit in perf record and top if we want to set perf_guest to > false by default. I'll send patches for them soon. > > Thanks, > Namhyung -- 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/