Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3502809imm; Mon, 13 Aug 2018 12:54:57 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxPWi4IJnZbvEfCPWYuTvB1KPC9DRKkJ2unPBQ6hbG/mOs76dt6hBKr3bgO1qRej4RDbVyy X-Received: by 2002:a62:aa02:: with SMTP id e2-v6mr20131695pff.211.1534190097205; Mon, 13 Aug 2018 12:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534190097; cv=none; d=google.com; s=arc-20160816; b=xgEweCeo4SnFGKPcB/yVc8TRz9eyLEaKQlyJHKkrUDJb/cbShBhYzBliczq0/8zkUe E0olQu8Onn/1fKIUnIkbISFEyk+UBJ0WfLWdhHDPDnlGjE441gQG8PRkepx/SA69U5EQ B8+VoLc0z22sx3Qn+QOFqVUd3nHQyEK4G1t6ZV2LNnIdiJYEnwKygwF5iDI535g5yWy3 uEVC1EdgHrr6+a+7Sg75PgpZDQzsOKrgMVdqxi2sh1SaoTsKkni2ioogTHKMGu7aFwOR 2IPsgCausYeht3I6MtDmAtq0JuwRZZlNvIPYXyumE1Y5EEg5MZyBhnpQeJPGoTP68xXt m1pg== 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=/i8cHiqjJ/KKpbexXjdjR+z2awlqTI+valD5T7uWa4M=; b=jqW8LKTI63gJvAIbzdZPGKCA4kF3Zh9IP86tO68xgNgowo+kWG+7deMkEx5NpTQ/sx sDQVV4UyN9YMgQu14StzvK2eRPq24T7g02nc4434IPU7MO3fqDoqbuy7c90YbOU8p4Yp X3F1eRZ13sCzVS7QJjaxiiW4jFOxb1GrJiXh1Gtxa+sOGO/DZefshlzthWs2AKTRS7R6 w8t+KcjebdK59UD5uS6zCVWlj9wtSXL3IEMrGsKH6/1/BE/tozaWsWzRgBFyvnIOVgj7 Xc597AUNu/GH/H5QkqaKKUSDjExG0+QOlYoROhp5Ti2Ah4jrWyi472gisOL92fchGsNZ 5y6Q== 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 k80-v6si19541186pfg.42.2018.08.13.12.54.42; Mon, 13 Aug 2018 12:54:57 -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 S1730304AbeHMVip (ORCPT + 99 others); Mon, 13 Aug 2018 17:38:45 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:41442 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729741AbeHMVip (ORCPT ); Mon, 13 Aug 2018 17:38:45 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7DC5B40122B8; Mon, 13 Aug 2018 18:55:17 +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 736101003200; Mon, 13 Aug 2018 18:55:16 +0000 (UTC) Received: by sandy.ghostprotocols.net (Postfix, from userid 1000) id F1AC6147; Mon, 13 Aug 2018 15:55:11 -0300 (BRT) Date: Mon, 13 Aug 2018 15:55:11 -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: <20180813185511.GA2146@redhat.com> References: <20180810174512.52900813e57cbccf18ce99a2@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180810174512.52900813e57cbccf18ce99a2@arm.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.3 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:55:17 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 13 Aug 2018 18:55:17 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.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 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. - Arnaldo