Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759495Ab1FWOWq (ORCPT ); Thu, 23 Jun 2011 10:22:46 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:53890 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758934Ab1FWOWo (ORCPT ); Thu, 23 Jun 2011 10:22:44 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Qx7Xy0NJnoQQXzZOZcSK6BUPFnIktRHGTYq3DLb2WilKfDQny7+TisDPNaWfGhWHtH KXzOTWHWH8Wrqilcalz/Qwa5uizIHENt+nMWNdEHc6chKDe9ZkH/tbHr+xGXYQ+lJb8k f/bgGt3dp5dPTJkJxUCuc+fxeq3pvWjxu+0mM= Message-ID: <4E034C2C.30509@gmail.com> Date: Thu, 23 Jun 2011 08:22:36 -0600 From: David Ahern User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: Arun Sharma CC: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Using a new perf tool against an older kernel References: <4E026123.4060208@fb.com> In-Reply-To: <4E026123.4060208@fb.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1719 Lines: 50 On 06/22/2011 03:39 PM, Arun Sharma wrote: > > I ran into a few strange issues today using a new perf tool (3.0-rcX) > against a 2.6.38 based kernel. Basic things seem to work: > > # perf record -aR -- sleep 1 > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.443 MB perf.data (~19334 samples) ] > > But: > > # perf record -agR -- sleep 1 > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 1.558 MB perf.data (~68077 samples) ] > Can't find id 9's machine > Found 1 unknown events! > > Is this an older tool processing a perf.data file generated by a more > recent tool? > > If that is not the case, consider reporting to > linux-kernel@vger.kernel.org. > > I couldn't tell if this is kernel/user space incompatibility or tighter > error checking in the new perf tool. Before I start digging further, > thought I'd ask if this combination is supported. The error message > above doesn't ask me: > > Are you using an old kernel? I have not seen issues like this using newer perf userspace against older kernels. For example, my laptop was running Fedora 14 (2.6.35) and now Fedora 15 (2.6.38.8) and I typically use latest perf builds (e.g., testing patches). David > > -Arun > > -- > To unsubscribe from this list: send the line "unsubscribe > linux-perf-users" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- 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/