From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754805Ab1JUO37 (ORCPT ); Fri, 21 Oct 2011 10:29:59 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:54668 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753132Ab1JUO36 (ORCPT ); Fri, 21 Oct 2011 10:29:58 -0400 Message-ID: <4EA181E1.5090101@gmail.com> Date: Fri, 21 Oct 2011 08:29:53 -0600 From: David Ahern User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Jiri Olsa CC: "Xu, Anhua" , "acme@redhat.com" , "a.p.zijlstra@chello.nl" , "mingo@elte.hu" , "paulus@samba.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] perf tools: Exit recording if events have non matching sample type References: <1317312068-10411-1-git-send-email-jolsa@redhat.com> <1A42CE6F5F474C41B63392A5F80372B212DCA02CB2@shsmsx501.ccr.corp.intel.com> <20111021081024.GA2033@jolsa.brq.redhat.com> <4EA17EAE.8040905@gmail.com> In-Reply-To: <4EA17EAE.8040905@gmail.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 On 10/21/2011 08:16 AM, David Ahern wrote: > > > On 10/21/2011 02:10 AM, Jiri Olsa wrote: >> On Fri, Oct 21, 2011 at 03:18:31PM +0800, Xu, Anhua wrote: >>> I installed the latest kernel and found without such patch( not sure if other patches were added besides this one). That following command works fine. >>> perf record -o perf.data -e ext3:ext3_request_inode -e LLC-loads -- date '+%F' >> hi, >> was there any ext3 event stored? The issue should be hit when >> processing stored events.. either in the atexit code or during >> report. >> >> Following command freezes for me on 3.1.0-rc10-tip+: >> ./perf record -o perf.data -e ext4:ext4_request_inode -e LLC-loads -- date '+%F' >> > > With -B and it doesn't for me. Without the -B argument the backtrace > shows it stuck here: While it doesn't hang with the -B, the data file is worthless -- non-matching sample type. :-) David