From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763093AbbA3UQf (ORCPT ); Fri, 30 Jan 2015 15:16:35 -0500 Received: from e9.ny.us.ibm.com ([32.97.182.139]:59520 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759792AbbA3UQd (ORCPT ); Fri, 30 Jan 2015 15:16:33 -0500 Date: Fri, 30 Jan 2015 12:16:11 -0800 From: Sukadev Bhattiprolu To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , linux-kernel@vger.kernel.org, zhlbj@cn.ibm.com Subject: Re: perf_evlist__filter_pollfd() in trace__run() Message-ID: <20150130201611.GA13679@us.ibm.com> References: <20150129235522.GA14385@us.ibm.com> <20150130152216.GE3101@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150130152216.GE3101@kernel.org> X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15013020-0033-0000-0000-000001B93CAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnaldo Carvalho de Melo [acme@kernel.org] wrote: | Em Thu, Jan 29, 2015 at 03:55:22PM -0800, Sukadev Bhattiprolu escreveu: | > Should there be another check to before reading the mmap again ? | | Possibly, checking, but a similar algorithm should be in place for | 'record', do you see any problems there? I.e. with 'perf record sleep | 1'? No, I don't see the failure with perf record in several hundred attempts. (both the distro and latest perf-core versions work ok). | | - Arnaldo | | > I must add that I don't get the SIGSEGV on recent perf-core and the | > system where we get the crash, first runs into the following | > errors that we are still looking into (maybe related to "ppc64le" | > architecture). With recent perf core I did not get the SIGSEGV (or the syscall translation failures below) on a different system. But on this system, a power KVM guest, I get both errors even with latest perf core (commit c52686f9f88). | > | > Problems reading syscall 45 information | > Problems reading syscall 5 information | > Problems reading syscall 5 information | > Problems reading syscall 108 information | > Problems reading syscall 108 information | > Problems reading syscall 90 information | > Problems reading syscall 90 information | > Problems reading syscall 6 information | > | > Unlike the SIGSEGV, these errors occur always. Most likely this syscall number translation is due to the https://fedorahosted.org/audit/browser/trunk/lib/machinetab.h missing this change set 1013, which added support for ppc64le. Sukadev