Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp769538pxk; Sun, 30 Aug 2020 23:37:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznE3DjEjthY5UMXuXGh4VuDCWhEzelrRrVu0vinuglP13aYy/AzrKogH4I+Bmpzjb58nTf X-Received: by 2002:a17:906:69c9:: with SMTP id g9mr11094888ejs.313.1598855875349; Sun, 30 Aug 2020 23:37:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598855875; cv=none; d=google.com; s=arc-20160816; b=RP5cCQB7Hx8rptbmcVtOafbxu3sM1pUvyZwSfFhGjBj3mdPZPmBqUD0H+WatpCMpaA gniT9/ms+YvO6SyBDTs3/3qrqmFvrOHwtncoC+qtMAl+rmFpPus494Kqdt9tzHhp/ZvR a5W7L9R+IgwLEaYgdpYRh/NMk1hOjpGImLoOBytzidJNOElSwhOCeAX9t8OQpx2XI9LX RMpC5epGL2gbYfORoHxbpPx6uspp5jCPLQVtz4g1hY8Dano8gi/0pZxOTNPfPaEsEkB7 sOrQc0JRkCkRTH0qW+H1VnQIj4tpf3HVzaJFSbPsSsfhXp4wr7SOKb17NZcOh6ZS0wTv IxMQ== 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=KW6oL1ppq3bVY0f+U/Jd1iTDriRlC9ILSWHR2AivXGA=; b=lTPcQmpmPZDH1HMRA+KAntVKnxMNINbPyfX24BMqZW9cDA5//YoXv0Gfef2btRNPlO wKFzWD2uZPfCLyFIoNe2rzCNZFdFCzqGd2/Bfo4gGS9cCrStB97TyYnjWAokPeW5IjSl o01zUIbk4kd1MfSb8GeR7sXNDaPT+VJt+CsoyRaioUSsPgH4cuxDa/xGADhVtZlDFzae eZ68F+gGjyrtIwvEiAD273lTol+E5ZaSnZfvD7Us4Sg5g/uZwjPrzxC1+k3Lpa2lGf+Q 36/kNnBQxmLIs/cY3Tkysjw6/f+VW1i4UsfilAXglQplCCNIc2XniyzmmI1yMF0bGhuy Df0Q== 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 cc8si4907927edb.204.2020.08.30.23.37.32; Sun, 30 Aug 2020 23:37:55 -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 S1725954AbgHaGfw (ORCPT + 99 others); Mon, 31 Aug 2020 02:35:52 -0400 Received: from mga14.intel.com ([192.55.52.115]:57375 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgHaGfv (ORCPT ); Mon, 31 Aug 2020 02:35:51 -0400 IronPort-SDR: +XW6kss/CIDOWIPS/v3JqcQLsZVTN72r/PyBSmiiMgTv1E6Nt85p0V8yvCKLVEwkfEqQWhPasn 73FVuHrOcShA== X-IronPort-AV: E=McAfee;i="6000,8403,9729"; a="156178461" X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="156178461" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2020 23:35:50 -0700 IronPort-SDR: KBXyTTDiqCRLALor4ZrP2eG7wFDIPkn6lzMhbouuhP22i+9izpIayBGt5FDsdx/3AEWe78wmoP j642F28t+OnA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="330595899" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga008.jf.intel.com with ESMTP; 30 Aug 2020 23:35:50 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id BCA7D301C59; Sun, 30 Aug 2020 23:23:32 -0700 (PDT) Date: Sun, 30 Aug 2020 23:23:32 -0700 From: Andi Kleen To: Adrian Hunter Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Alexey Budankov , Namhyung Kim , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/6] perf record: Add 'snapshot' control command Message-ID: <20200831062332.GW1509399@tassilo.jf.intel.com> References: <20200829105015.10800-1-adrian.hunter@intel.com> <20200829105015.10800-6-adrian.hunter@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200829105015.10800-6-adrian.hunter@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 29, 2020 at 01:50:14PM +0300, Adrian Hunter wrote: > Add 'snapshot' control command to create an AUX area tracing snapshot the > same as if sending SIGUSR2. The advantage of the FIFO is that access is > governed by access to the FIFO. How about the --switch-output SIGUSR2 switch? Could that be handled too? Other than that it looks great. Thanks. -Andi