Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3472714imm; Mon, 13 Aug 2018 12:18:20 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzubrbFvgfuVFPlqG15bFchjxy3F+3JlIk1aAX9/msfLTu6hPapmgATe2u3W5m3IvgNLjSy X-Received: by 2002:a63:5542:: with SMTP id f2-v6mr18507142pgm.37.1534187900118; Mon, 13 Aug 2018 12:18:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534187900; cv=none; d=google.com; s=arc-20160816; b=S5LKcw160b2CmVtyuHjsozMyE4gr662cQGaq2vLRWoHsWeiE3fCqfbVkqJbh/qsiax oHoyw7uSHqY+JxkRCz8lkdhSfecNma7kfGPjHljjRt44M4U6Sa3BUQXSeW9a4N4RjcnI fsPeOcoNtOif28y5LwXH/CmSNFMfI0ctwOyRhdtYsk+DkUWFIZLMgXyJO2YKBI6huEc8 YRz78OxCIN1syRDiSVTgcM/OW37FjcSwbiienTWKY/bbrHeX8p1zKMmdaR8jKRkxLqHc zZnRgwfaIklS9IfyH6I8UDid6HhLUatyT3m8xcDO95bMJaHTfnB32Njjb37rX6SEYzQV BOXQ== 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:arc-authentication-results; bh=Sz3yXlbpnPeG7gqC4PA/rc0oPars7v/4HjEGxB91RUM=; b=ml+vKmx0qAaygQIJsbbKhyz9KplH3SEHWANC6zP50LdHgbTva0ndaXEsua2NMcP6BX flpZGV+28Pb/TChJJ40T6+yyRoRSMSBzmA4b6h429wXF7hVviSTdkntrARM0iTJc3ODo gVrjaA5Hvie8ThNpZMCKvFW1vtAItIX+++yIGPDh2l6TSqW3hsp7Ssy+KuGt2BGkxhQX WsC9p9kZoDuWLRaHD/H+kD0rkUkLPmUohazr0Ye7UpeG0pbDk4MKuN4prerKu/jt5uQh /vDSEVh1dZiz17QwO45X/OjV87k9jhbylcK1zqGlK36jtGtT5FshCnuRNFqiUYUD+tpE UeQA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p126-v6si19902579pfb.77.2018.08.13.12.18.04; Mon, 13 Aug 2018 12:18:20 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730539AbeHMVmr (ORCPT + 99 others); Mon, 13 Aug 2018 17:42:47 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:41518 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730060AbeHMVmr (ORCPT ); Mon, 13 Aug 2018 17:42:47 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 129FB4001868; Mon, 13 Aug 2018 18:59:18 +0000 (UTC) Received: from sandy.ghostprotocols.net (ovpn-112-5.gru2.redhat.com [10.97.112.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 06B852156712; Mon, 13 Aug 2018 18:59:16 +0000 (UTC) Received: by sandy.ghostprotocols.net (Postfix, from userid 1000) id D186C147; Mon, 13 Aug 2018 15:59:12 -0300 (BRT) Date: Mon, 13 Aug 2018 15:59:12 -0300 From: Arnaldo Carvalho de Melo To: Kim Phillips Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Dongjiu Geng , Adrian Hunter , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf tools: arm-spe: Fix uninitialized record error variable Message-ID: <20180813185912.GB2146@redhat.com> References: <20180810174512.52900813e57cbccf18ce99a2@arm.com> <20180813185511.GA2146@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180813185511.GA2146@redhat.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 13 Aug 2018 18:59:18 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 13 Aug 2018 18:59:18 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'acme@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Aug 13, 2018 at 03:55:11PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 10, 2018 at 05:45:12PM -0500, Kim Phillips escreveu: > > The auxtrace init variable 'err' was not being initialized, leading > > perf to abort early in an SPE record command when there was no explicit > > error, rather only based whatever memory contents were on the stack. > > Initialize it explicitly on getting an SPE successfully, the same way > > cs-etm does. > > > > Signed-off-by: Kim Phillips > > --- > > Hi Arnaldo, please apply to perf/urgent / stable series if at all > > possible. Thank you. > > In such cases the best thing is to have a "Fixes: ..." so that this gets > automatically picked by the stabe trees, I'll try to find out what was > the patch that introduced this problem. This one was easy, there is just one cset for this file prior to this fix, so: Fixes: ffd3d18c20b8 ("perf tools: Add ARM Statistical Profiling Extensions (SPE) support") - Arnaldo