Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp780268pxk; Mon, 31 Aug 2020 00:05:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3kuVMhlFxRMEgYYBiwLpQ2LYJs4eQEd7tcGsAK+nA8zRBQWhLvdOE8vLhX4OACPVxjQeg X-Received: by 2002:a17:906:7fcc:: with SMTP id r12mr5218083ejs.360.1598857529445; Mon, 31 Aug 2020 00:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598857529; cv=none; d=google.com; s=arc-20160816; b=zpyerV4+/bhIhCFmElaUdhAWKn/AnN+p8l3mGnxPONybgJK67+PsWkLZedIz3pvksW ARQHFWl4nFyIeF1m6O7tUdnk8kNa0VcJAF0yw9pef6qDnHC3Qc4ORQosS947ESWXm/dN 2kfEooqYkBeIOR2d4CTbvDOBb0QhXu0u4VzSJjkDVnLZyT90KLxcg96b6cwl9UC1cPMC SB4DpXFhSmYSyxUI5bAzQxi7sDqC3dEO9ViZXNatWd4EszE1NxgIxIrKhhxmhy97vEz/ ogXikHvTaJxKZPR4Ru2uzRYfOxvGELhHVg8w7J8ZY5o5vHRVCQJwQmDtemijLU//8r4Z 0bsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject:ironport-sdr :ironport-sdr; bh=w2k6QJvz5uTdzOLGe+68QC/9cBh13DTG+m2cBApYwGA=; b=HrER+MAZ1Rt7PQgPeKCaul2BSqAnZuORdMPcy4j7KduMDYE5uRv6q8GrNVoLWbsVxZ Mb+a1WZazlE216GLHkh0w1El1ZhyHFT91jMDQ+lxg23X/vGWqb5dAA5BNgUKKE2tjlzL 8LjcFyU+kQvGnAW5Wt50a+htVkic1yCJKN3fkyB6x0C+Q0OQYYa2hbIxKUguPMLmPE/R FaJmL9/XIkB4XXZXpJkDu6VmIO9rdhLVtKuL45VtgrnUTX7Ftrf0iXfxO1lcnh08kO/E ZdD8yzfQi7JZVBIUD1b90JYt7aYGEbvZkwV+NeWvoLWq67WOK9Crmol8KVfYP5xFsyfu 1h7Q== 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 t17si4511594ejd.335.2020.08.31.00.05.06; Mon, 31 Aug 2020 00:05:29 -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 S1726255AbgHaHE0 (ORCPT + 99 others); Mon, 31 Aug 2020 03:04:26 -0400 Received: from mga12.intel.com ([192.55.52.136]:32881 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbgHaHEZ (ORCPT ); Mon, 31 Aug 2020 03:04:25 -0400 IronPort-SDR: c836ObG9SCR551eSOm/x+vng0TtKsbm8Sc3nNgx7BjJPHuIzzQuLEy/GZf/anidQzrFbCeQzQq qpKzZO1MffTg== X-IronPort-AV: E=McAfee;i="6000,8403,9729"; a="136454593" X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="136454593" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2020 00:04:24 -0700 IronPort-SDR: +mGfJ4fN8GdX+b3galXYZm21+cuocKgUviGrYgLujy61A368eUKMv9P3+Btyp5No5MHi7pc9LD 8t+h/Pxhldig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="300952317" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.73]) ([10.237.72.73]) by orsmga006.jf.intel.com with ESMTP; 31 Aug 2020 00:04:18 -0700 Subject: Re: [PATCH 5/6] perf record: Add 'snapshot' control command To: Andi Kleen Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Alexey Budankov , Namhyung Kim , linux-kernel@vger.kernel.org References: <20200829105015.10800-1-adrian.hunter@intel.com> <20200829105015.10800-6-adrian.hunter@intel.com> <20200831062332.GW1509399@tassilo.jf.intel.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <64a87689-8ce9-c54a-98fd-b6ad7fd3aa92@intel.com> Date: Mon, 31 Aug 2020 10:03:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200831062332.GW1509399@tassilo.jf.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/08/20 9:23 am, Andi Kleen wrote: > 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? Presumably, but I have never used --switch-out because Intel PT does not yet support it (it is on the list of things to do). Perhaps someone more familiar with it can add that :-) > > Other than that it looks great. Thanks. > > -Andi >