Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp855347ybg; Mon, 1 Jun 2020 16:39:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKHN/ubqeTHs1HdMNHyTyB36dnEegO2gtNwbSkvrKpwck5Os/Um+hQCquXp5jCfwUNM9zf X-Received: by 2002:a05:6402:36d:: with SMTP id s13mr19148034edw.192.1591054799168; Mon, 01 Jun 2020 16:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591054799; cv=none; d=google.com; s=arc-20160816; b=bWUx5WkYFdug6b9TXXVO3sWLPhBhHwTcgqod5HVcPUQ3JboI0+SSNECnGQWkpEvbqu bIJrL2PA5qLt174FdzL12TvGLjZsUR77JbqbD9qohLVtj5gl3Z6giUOHZVLzqZVcFlgc 8T5tZ2wANd75xeksw6VBt4ypfg+1k9qG3jOyAuo9RVDIcMG6bSsV+vdY49tdQNWYlcMg G6evHG8u077f/m1x2VTyIycLoa8SAa965fKPmnAdSMphPDhQOBCMXybSmaoC/uZB5GFe hbrVHYvIE0kJkt02Avd4ls4xRMHIL2hn833tfMOQRmEAbvufgEIebMqYSxvHsr/T0suj G3Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=+cGe8qBFRW8vicBtaTEBZKVwS6A42LHPS37D0xNWzQI=; b=UCnKgIJK4DSgXwkHg1/kuF/WSI3XXea+WoyVnWx1BzJVH0UJeE6W2nV3NDamdhFVUt dapU9TbjZh5OOVOTKJ/HYvwBuHaPKoxOJyzHiXUu83rhD+cJv6TykMUjfXKwA6sMUkOg j2wY6DW8+tO1srpFlDgjRGpvm770kAZgJ8TDRi/awtUluGGC3cmvJWc2OxeZZqjVYRB+ 6XBz/kJKwE6uVqgc5IswDmgfkB1m88nE1+wneuhNpN75Q4VScJpqneJpa/ED59201vub PnfR3NyA4jsQZYMgAEJoXqghi24NbAYWN2d9YlvVvoKeTrcVIfuhdcX4DM1JjwSKIEqj 23dA== 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 b6si620232ejb.100.2020.06.01.16.39.36; Mon, 01 Jun 2020 16:39:59 -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 S1728629AbgFAXhd (ORCPT + 99 others); Mon, 1 Jun 2020 19:37:33 -0400 Received: from mga01.intel.com ([192.55.52.88]:35790 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725802AbgFAXhd (ORCPT ); Mon, 1 Jun 2020 19:37:33 -0400 IronPort-SDR: pzFqz6AXy3aAmN+R1DT9XDh1ZAKGolt22Zpj1u3nvgbpDnB02PeGgIFU/qzw1/AsjDbqpzgE3z ++pPGjzBtLlA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2020 16:37:33 -0700 IronPort-SDR: vvL2Lps+K9jGjKC4llNqRQeeD7mgnGfmsRhdPfouypantp5TMVUI1fsJ3dwLJ4xdr5anl7XQJn NPQr4wImOMWQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,462,1583222400"; d="scan'208";a="444465628" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga005.jf.intel.com with ESMTP; 01 Jun 2020 16:37:32 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id E9EDB301C5F; Mon, 1 Jun 2020 16:37:32 -0700 (PDT) Date: Mon, 1 Jun 2020 16:37:32 -0700 From: Andi Kleen To: Alexey Budankov Cc: Adrian Hunter , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Ingo Molnar , linux-kernel Subject: Re: [PATCH v5 13/13] perf record: introduce --ctl-fd[-ack] options Message-ID: <20200601233732.GA691017@tassilo.jf.intel.com> References: <8ffc9f9f-af58-deea-428b-f8a69004e3cb@linux.intel.com> <923c40c7-7c0b-9fad-314d-69e7acbee201@intel.com> <937c8cc1-b4c2-8531-3fa4-d0ad9df6a65f@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <937c8cc1-b4c2-8531-3fa4-d0ad9df6a65f@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > or a pathname, or including also the event default of "disabled". > > For my cases conversion of pathnames into open fds belongs to external > controlling process e.g. like in the examples provided in the patch set. > Not sure about "event default of 'disabled'" It would be nicer for manual use cases if perf supported the path names directly like in Adrian's example, not needing a complex wrapper script. -Andi > > > > > e.g. add "--control" and support all of: > > > > --control > > --control 11 > > --control 11,15 > > --control 11,15,disabled > > --control 11,,disabled > > --control /tmp/my-perf.fifo > > --control /tmp/my-perf.fifo,/tmp/my-perf-ack.fifo > > --control /tmp/my-perf.fifo,/tmp/my-perf-ack.fifo,disabled > > --control /tmp/my-perf.fifo,,disabled > > > > Regards > > Adrian > > > > Regards, > Alexey >