Received: by 10.213.65.68 with SMTP id h4csp548083imn; Tue, 20 Mar 2018 09:20:06 -0700 (PDT) X-Google-Smtp-Source: AG47ELum4Uebi/rg/PDW515s7eIjfo3UCa4OCy0A9YzMs6/NEKThvuipKTCOwstd5l0HmP9OzO33 X-Received: by 10.99.177.7 with SMTP id r7mr12473405pgf.76.1521562806643; Tue, 20 Mar 2018 09:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521562806; cv=none; d=google.com; s=arc-20160816; b=cXxz8YlPXZZOBGYy4AqFA11rAEAMxO1vUWq3+pfxf5DOciqU175vQ3GyF8lgStqxp4 cyVhpayv8SRAM0J3gZD/ymC+AuWYuO/J/1rqu0kmEWf7yI5J1I81o3luZQq1E70MB4nm LWYhloLzDX4nvOPh/WbDQsvdtwtXdmaxbTkWeLvWgToVfolteIvSxwvJFeauYgaWtoLV I8HDVz2Tu7Q7zt0Kb1JJSOstcIsWV3glIWpUgJOsZr1YEnRLxn4H9OHvSZZxz07R/qGY s8bj0wFt4xx8t1WFoGU7tDEx0Q6h4jO8QVm9eZTt46AfJOdXuEMoMgeNqdxa+tNePB5h sHCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=YH4vRK1JBHb2khOReG6hsJKnT6Wy3S8gxkOuxT4B9Iw=; b=nZm2Xgl8P+Ul3cl021SsLlHdaWnGfIpR32ono19um4fo2WuscOs+vrLMPlzjoBowKG ZcwXUGIrJ/a+OhIBn6l94g1Irf9mrtGnIhQ8pvavnqkFyJ3TnkMwFIMbm+JqeDadlBE9 Om0iN323VHc7BcaYXRyzj0SVJNGYG6Kip/tbRWmjv4dJeG5dSU+XJZ0VkG4fkINU+mBF x3VvymKNzgmsPSUpLmAfke/lf2FRxCR/w4stNuvp7ps1snstrX4LWzgefCOUsxwM4BFI Em33h7cURSNG3H8tyVLt86EkVCwxqWqVgmIMuCdxgZv4btU8XdvGUrxA33VF2tP5fqZY tsXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si1370627pgq.168.2018.03.20.09.19.51; Tue, 20 Mar 2018 09:20:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751456AbeCTQSc (ORCPT + 99 others); Tue, 20 Mar 2018 12:18:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:42552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751269AbeCTQS3 (ORCPT ); Tue, 20 Mar 2018 12:18:29 -0400 Received: from jouet.infradead.org (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 96EA121770; Tue, 20 Mar 2018 16:18:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 96EA121770 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Received: by jouet.infradead.org (Postfix, from userid 1000) id 8688D145571; Tue, 20 Mar 2018 13:18:26 -0300 (-03) Date: Tue, 20 Mar 2018 13:18:26 -0300 From: Arnaldo Carvalho de Melo To: Kim Phillips Cc: Martin Vuille , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] perf unwind: Report error from dwfl_attach_state Message-ID: <20180320161826.GA4229@kernel.org> References: <20180318175053.4222-1-jpmv27@aim.com> <20180320080633.10e8414475a534ce9cf26c28@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180320080633.10e8414475a534ce9cf26c28@arm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Mar 20, 2018 at 08:06:33AM +0800, Kim Phillips escreveu: > On Sun, 18 Mar 2018 13:50:53 -0400 > Martin Vuille wrote: > > > In verbose level 2, errors returned by libdw are reported in most cases, > > but not when calling dwfl_attach_state. > > > > Since elfutils v 0.160 (2014), dwfl_attach_state sets the error code to > > report failure cause. On failure, log the reported error. > > > > Signed-off-by: Martin Vuille > > --- > > Reviewed-by: Kim Phillips Thanks, applied. - Arnaldo