Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932561Ab1FVVi5 (ORCPT ); Wed, 22 Jun 2011 17:38:57 -0400 Received: from outmail018.snc4.facebook.com ([66.220.144.150]:40647 "EHLO mx-out.facebook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932255Ab1FVVi4 (ORCPT ); Wed, 22 Jun 2011 17:38:56 -0400 Message-ID: <4E026123.4060208@fb.com> Date: Wed, 22 Jun 2011 14:39:47 -0700 From: Arun Sharma User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: linux-perf-users@vger.kernel.org CC: linux-kernel@vger.kernel.org Subject: Using a new perf tool against an older kernel Content-Type: text/plain; charset=ISO-8859-1; 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: 1170 Lines: 35 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? -Arun -- 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/