Received: by 2002:a25:d80d:0:0:0:0:0 with SMTP id p13csp179779ybg; Sat, 23 May 2020 10:47:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4bF81xf7OPIuGM4IGYpaGjNlxFKjwkA3OhswANR6ZCioVzKWpsSjdg6Iynwm5MYIbaUS4 X-Received: by 2002:aa7:c5d3:: with SMTP id h19mr8428677eds.112.1590256073033; Sat, 23 May 2020 10:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590256073; cv=none; d=google.com; s=arc-20160816; b=GFwyzpYHwTp5g+jk1ZwGvCSPcg8jtuTkqlvK84zMUoskbFVbJBcm5Oj8tGJD7tdrYw 0B6hVE3A/K5qTZvcVbRG7IWEfLLlYOODHMRq0IvfgWkbdFSPh189WdMNF33FgW3X6Ybp btZihVzkhccrCBLcYqWj+cQGs8ZPDWOhwjQ/EE39QNdzOlUJYVicqRWP7vXj0gOLJWes nZm8fYPz4v146DYqaT4Y+FSL5VyOSrq4v/5Q5uDO/HQouvQXH4WaFxI0uTyhSNlMZZdc j88eNaXx3Un95hULkFtk1z41lAWEgPXAgnLDVE/+zb2Kg0wOFlZRsrfsvp0qR/M+KIPm DXQg== 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:message-id :in-reply-to:date:references:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=1Vt5IDn9+ircCsApT4spB6ZGIluu+FnBL7foFvnHfO8=; b=0wWzUUSzcJMPI3A096wV3edHJ9+O2geDL7UJ9cnJKN2B8Q7qxdkXFnUHszY9AJp3dH QmYCkbOAbeorzI8mLkp6CBpxL9QTU6hhwa22uL69C8kOJHlHWx1LnCmXzqAhk7tubFCf 51uAdYjgWGgEWDklAHNZXea9eCSweZRsIeB2+GMfOO6iwkbDiiOUkXDQMJkFFfcknxQh ZDVI++DTN5lO/PxOqCwcUhL1fNrVpBdAxsV221qPh8xKIh9/dFXEhxzLRQrk5vqrq+8z ru/BZm4dcWunSrFjE66RnuyxmkwJp8O2ZHmGOSo3Ydlb4tRRPqvuRbE8RmiPeuUla5mg TzDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r28si6735489edl.121.2020.05.23.10.47.28; Sat, 23 May 2020 10:47:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388178AbgEWRpK (ORCPT + 99 others); Sat, 23 May 2020 13:45:10 -0400 Received: from mga12.intel.com ([192.55.52.136]:3490 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387660AbgEWRpJ (ORCPT ); Sat, 23 May 2020 13:45:09 -0400 IronPort-SDR: XAaqXMBX43/A5PfxKwGo1spHIIsnCa3oh7ExIzFSBuknJnxoaJX7GsEFU+IceAQ5tYvoP9AsZz 8dpCHLz2vZ6g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2020 06:34:57 -0700 IronPort-SDR: IO3jCsmfjnhxYNdxnhnpaydv5y3Fg8fUowsRYODGTa5f12cF47kAxzUI6WYkPrsHLhUKKNoLuZ pMI+bmp6XrYA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,425,1583222400"; d="scan'208";a="413035856" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga004.jf.intel.com with ESMTP; 23 May 2020 06:34:56 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id C0C96301A90; Sat, 23 May 2020 06:34:56 -0700 (PDT) From: Andi Kleen To: Anand K Mistry Cc: linux-perf-users@vger.kernel.org, Alexander Shishkin , Arnaldo Carvalho de Melo , Ingo Molnar , Jiri Olsa , Mark Rutland , Namhyung Kim , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] perf record: Use an eventfd to wakeup when done References: <20200508145624.1.I4d7421c6bbb1f83ea58419082481082e19097841@changeid> <20200513122012.v3.1.I4d7421c6bbb1f83ea58419082481082e19097841@changeid> Date: Sat, 23 May 2020 06:34:56 -0700 In-Reply-To: <20200513122012.v3.1.I4d7421c6bbb1f83ea58419082481082e19097841@changeid> (Anand K. Mistry's message of "Wed, 13 May 2020 12:20:23 +1000") Message-ID: <87a71y93lr.fsf@linux.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Anand K Mistry writes: > } > > + done_fd = eventfd(0, EFD_NONBLOCK); This will make perf depend on a recent glibc or other library that implements eventfd. Wouldn't surprise me if some kind of build time check is needed for this to pass all of Arnaldo's built tests. -Andi