Received: by 10.213.65.68 with SMTP id h4csp46110imn; Mon, 19 Mar 2018 19:03:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELt72H2Z5irGHlFn+jj9S2MHf16bVuOVHSa3DE1rCtFVtkXIwwFisIwdLyh4J/zsthAUEOKj X-Received: by 2002:a17:902:8349:: with SMTP id z9-v6mr14617889pln.163.1521511436941; Mon, 19 Mar 2018 19:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521511436; cv=none; d=google.com; s=arc-20160816; b=JaNx8Xzik86PsYKSiPQfoPprDfZ31TAaush5GqMTWsTD3lZ/Vx3t2ml1GWixI20w9d D5zyKsOU9ej7povnCvE/IwgMVcCJp9Yr0FK9joxhKHiEz54p4z6XhN5qHoraoOctEdRR nqQrKP1vceMdP6pZ/rBVa+Gf9g8NxE6I8U8V9SSNC0Utm4P1OeGRRseVDgoFHSktuscL vqcRZwvi55S69m2NGIK9LgYMRjUNAiMJn3v5a3yWKTTD+/2hkzj1BmAhSLeGQ6NA2xT1 UDZfL3JWdD2o84fSOSZeJSGRJgk93XcsoremoVbBot37/P7g0LW0v0YOUqD/kvKEzza7 JfWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=X68OtAAbRp8Ts3MW+4Na90BfpMU83Lk26BmUx5Zy1Os=; b=sQYxfvaMLpCDSUQ5h3kqun6UWz2qns22kVu2eMLAliIO8GrBzCqGyRoeVz+UDPXbTp dP5IZ761isyg4h7tCo68yYGM+vPxF2E4NvFp4JLLgEZmE2qV8JLkb5B0ytyvml7xPL/F JQZdRAjMT0nm7UtcXjc4SLG04Oez1oUgXvUSlkcGE3gHm6qo/azG2AHKoUSD5qYHrYk2 hcdKCiGTiiNDmiWfj47puVDjSqJprCFp1nQpTfCeqHCL9H7XY1h/e89uFPGq0N2HkDAS YEmJ9KpJNufYAnMpfvSJI5lH3DiRL4znvG5rrNDzUUU+3gMXxUUla6fhypDOZKR15R6k 2bCg== 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 o18si457731pfa.401.2018.03.19.19.03.43; Mon, 19 Mar 2018 19:03:56 -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 S934429AbeCTAGl (ORCPT + 99 others); Mon, 19 Mar 2018 20:06:41 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:33294 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933323AbeCTAGh (ORCPT ); Mon, 19 Mar 2018 20:06:37 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D3A481435; Mon, 19 Mar 2018 17:06:36 -0700 (PDT) Received: from dupont (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BB75A3F24A; Mon, 19 Mar 2018 17:06:35 -0700 (PDT) Date: Tue, 20 Mar 2018 08:06:33 +0800 From: Kim Phillips To: Martin Vuille Cc: Arnaldo Carvalho de Melo , , Subject: Re: [PATCH RESEND] perf unwind: Report error from dwfl_attach_state Message-Id: <20180320080633.10e8414475a534ce9cf26c28@arm.com> In-Reply-To: <20180318175053.4222-1-jpmv27@aim.com> References: <20180318175053.4222-1-jpmv27@aim.com> Organization: Arm X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Kim