Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7986555ybl; Thu, 16 Jan 2020 08:48:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxIypAeEiMRuWZH/lM+Lii0Vp0TnUKlmHntaneoHZSVy4u4lNqQvwXLs037FmpBx0DrmXW5 X-Received: by 2002:a9d:c02:: with SMTP id 2mr2776062otr.183.1579193309606; Thu, 16 Jan 2020 08:48:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579193309; cv=none; d=google.com; s=arc-20160816; b=GfrgCZg7cpqVVJ0Y26WioipbQmKfdWRU8mZSe9Rek9JK9MmiowT6vlLu59BOH03phR 10ql3lBIDyfBU1dZbjdVoNJvqCAX0bITiGHcLSeFZV9t6+/oJsa/1WxMCOJbvAT95ojV jN/Mmjl7jOql7zWo2+Ysx/NmJnuTWPGReKtlaNKoQ6SyHH+sWG1xVINBIhDSyt4b1aDM tOhCYps2udqRzLLwL6bUNzyF/qf4O1PBeSnkOx5RIfMNcbUGw4mD2af0X9bMoZEbU1ui VJD8V5DzFXrp4YQfqQPTrEBNguhSnu7VARv6LL0q1dqqKo8J5AncqXQSAiWlQ8uiNB+i RRwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:date:from:dkim-signature; bh=wvt8smsg1HL/HROaSH1vcUPejygGWroBMJD9sx4u7EQ=; b=Flt7QuKmIoD5GmAmgich/AKN211crKGAKxccAC8qCVHbQJVDoiWLxBijuG60EgUmsj NrwUxEf8nf9JYOfarKBlNTlpZGqSUe8xLDzcFg+2Vv9qgz4YeRyMLgptCHa1WPakKP6D 3scYQvMUBUPL/wzSvkKqchknLPCnUF1LIlldyCMgqY87ehZTZEm9O468VhSG+lUkwEVV 5PqwNV7cwA+4CpdOOTYsiKRpECjxnQtDJviXcB6IxE6HUerBxFprNqf07D00PCnFZTfH ASwoEpuitpB9GN7V84Cd4jNVph53cNa0HdPhsG0/rHlOFwP41td3AX8xad9nwrM251EN dBkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b="gx0Q5k/v"; 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 9si10591782oiz.237.2020.01.16.08.48.18; Thu, 16 Jan 2020 08:48:29 -0800 (PST) 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; dkim=pass header.i=@maine.edu header.s=google header.b="gx0Q5k/v"; 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 S1729288AbgAPQpx (ORCPT + 99 others); Thu, 16 Jan 2020 11:45:53 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45668 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729654AbgAPQps (ORCPT ); Thu, 16 Jan 2020 11:45:48 -0500 Received: by mail-qk1-f194.google.com with SMTP id x1so19670047qkl.12 for ; Thu, 16 Jan 2020 08:45:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=wvt8smsg1HL/HROaSH1vcUPejygGWroBMJD9sx4u7EQ=; b=gx0Q5k/vJ3zGnE2w0yfnD8HiYO/z+498mW+4yPeOc0Yx9qHVU3cchwAzkAhZWAZtQ2 DKvZby1uWKPceCAPp9gIUK95GtVIGDBi314APQmyR/w1SsXmzeVpor7loLQ8oP29VxGA xuBQwbfPSZutI7MJpYp6sW0mvqoNQOzhWLOzU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=wvt8smsg1HL/HROaSH1vcUPejygGWroBMJD9sx4u7EQ=; b=V7DOs1WdmviCMYRCGXPSd18ruh1MLbRYUFnMQwodpUHoNrVozGs1hDzMW+6u7FXIZi Zam1CmC97zbF9FVi0Fzi++xm1y5LvxvmLJpgZu52SfvRK19z0Y4e9DgUKPo0Li/sgytq PG66sdq4fn3OfuHRVs5Y/3DqtgveZasMh2xd7K/Wb9a2iTla0FkpWDfmCVt2XHhu7+iy dZ8BTCNeUinf5KxnCTQ7xcBzSlC+7GxpT75D9pwNE59RwhCx1Q4Eu9sdu5BZCY9QsLkN zoMRiH/HSPA8lcKGekJT8Gpmx0DSdQ/3WoXmbfuL/BEBh+kuC3vieWm0mYGoCiziCGoL uMXw== X-Gm-Message-State: APjAAAUJbTDdlJJHt4F75LnNMpqj9Qigl1uuvRmlBna9nSx6NcWiW7bR cDXr1BfkBRs5TTY4kU7g77py6A== X-Received: by 2002:a37:7d01:: with SMTP id y1mr8317444qkc.452.1579193147715; Thu, 16 Jan 2020 08:45:47 -0800 (PST) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id n4sm11195152qti.55.2020.01.16.08.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 08:45:46 -0800 (PST) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Thu, 16 Jan 2020 11:45:45 -0500 (EST) X-X-Sender: vince@macbook-air To: Vince Weaver cc: Mark Rutland , Alexander Shishkin , Peter Zijlstra , linux-kernel@vger.kernel.org, Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim Subject: Re: [PATCH] perf: correctly handle failed perf_get_aux_event() (was: Re: [perf] perf_event_open() sometimes returning 0) In-Reply-To: Message-ID: References: <20200106120338.GC9630@lakrids.cambridge.arm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 6 Jan 2020, Vince Weaver wrote: > On Mon, 6 Jan 2020, Mark Rutland wrote: > > > On Thu, Jan 02, 2020 at 02:22:47PM -0500, Vince Weaver wrote: > > > On Thu, 2 Jan 2020, Vince Weaver wrote: > > > > > Vince, does the below (untested) patch work for you? > > > yes, this patch fixes things for me. > > Tested-by: Vince Weaver > is this patch going to make it upstream? It's a fairly major correctness bug with perf_event_open(). Vince