From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA67EC25B75 for ; Wed, 15 May 2024 12:34:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Rvri16hhfiyJx+gFq8/VPK6fRft+FBU6iie1Tqb0L0c=; b=B5djwYLTl6woDz wdbRZM/jegg0tB0zog/gfBT1jM/dZlFx2Pz3gxAVGBzHu26b7WodolMa4oqBHmVYU3Zp5hqMFxKaI VgcoOCUFoR2bh2opnF9px0QrQ7TTCDxyd2GAw6wLHH6mU6YH17mbNWi2twRFGYGsoftWtfQZpBOnd ndYvlKOl2UdhU1oKxhS4Ng5+13Ss3zwRBDNBDAg5LwehuiYu5ulBgdRyovY6H6ds2aMxrtKWe9esV baxD2rCAaRLhyz+FpnUP/rjee/WwnTnPC7B1S6SE2ZjWeVGfS/P8R6a12cFfAjhP7i9FU6XuqCmHX 8qs9vd1NfeIdnZV2J4FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7Dpo-00000001W57-1OTM; Wed, 15 May 2024 12:34:16 +0000 Received: from mgamail.intel.com ([192.198.163.10]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7Dpm-00000001W3n-0p0K for linux-arm-kernel@lists.infradead.org; Wed, 15 May 2024 12:34:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715776454; x=1747312454; h=message-id:date:mime-version:subject:from:to:cc: references:in-reply-to:content-transfer-encoding; bh=1lJElHHqjV25hj6V/dktcSZwmnweHDqKnzO1SGhKrRc=; b=WQQ4li11GxU6Xhk5CYtvQju22BPKT1G3b0tk6ERZ4g3lMA5cOC+kJYlm ys8QApA6ZJeWs+p7y8eurEg/KyVrLmLr40JraWbz0SX5F3K4lotVRCXKa 23daICQIsAhUuAd2gWT0VSzscil19kln90TVlQDxOctfDsUhV3FqBc4yN TA7395Zj4MwCBENi8lK9jB0LB7h0dCCsQXXotEaIZcDSrgW6twuJFFOch 9ndi2ySssApShc42x0FpLWrVOajHluJgPFNM95LhCOiTYhveliW4EU5C4 sRvFL3WSPaMsH0aAchQ2IW6lpafHruGAEfrXz9rdSdHktsZHqJGNbSN+o Q==; X-CSE-ConnectionGUID: 633VQQqnQBGaGAp1D1tr3g== X-CSE-MsgGUID: noEfE33bQhuTUnzw1n1Ygg== X-IronPort-AV: E=McAfee;i="6600,9927,11073"; a="23221468" X-IronPort-AV: E=Sophos;i="6.08,161,1712646000"; d="scan'208";a="23221468" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2024 05:34:13 -0700 X-CSE-ConnectionGUID: gJLKzCL3TmSokeKOqGe34g== X-CSE-MsgGUID: aUFOzMs0RLKbbXYTps5fMw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,161,1712646000"; d="scan'208";a="31136084" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO [10.0.2.15]) ([10.246.48.7]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2024 05:34:07 -0700 Message-ID: <55624c6d-cdee-49ba-96b1-09598cb1bf68@intel.com> Date: Wed, 15 May 2024 15:34:02 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V5 00/12] perf/core: Add ability for an event to "pause" or "resume" AUX area tracing From: Adrian Hunter To: Peter Zijlstra Cc: Ingo Molnar , Mark Rutland , Alexander Shishkin , Heiko Carstens , Thomas Richter , Hendrik Brueckner , Suzuki K Poulose , Mike Leach , James Clark , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, Yicong Yang , Jonathan Cameron , Will Deacon , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Ian Rogers , Andi Kleen , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org References: <20240208113127.22216-1-adrian.hunter@intel.com> <52f3abd2-4f75-4147-bc7b-c98960d9494b@intel.com> <1cb114be-9585-4f85-af9f-4bafb2d15d2a@intel.com> Content-Language: en-US Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki In-Reply-To: <1cb114be-9585-4f85-af9f-4bafb2d15d2a@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240515_053414_299773_C3D74C59 X-CRM114-Status: GOOD ( 13.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 24/04/24 13:39, Adrian Hunter wrote: > On 11/04/24 15:02, Adrian Hunter wrote: >> On 8/02/24 13:31, Adrian Hunter wrote: >>> Hi >>> >>> Hardware traces, such as instruction traces, can produce a vast amount of >>> trace data, so being able to reduce tracing to more specific circumstances >>> can be useful. >>> >>> The ability to pause or resume tracing when another event happens, can do >>> that. >>> >>> These patches add such a facilty and show how it would work for Intel >>> Processor Trace. >>> >>> Maintainers of other AUX area tracing implementations are requested to >>> consider if this is something they might employ and then whether or not >>> the ABI would work for them. Note, thank you to James Clark (ARM) for >>> evaluating the API for Coresight. Suzuki K Poulose (ARM) also responded >>> positively to the RFC. >>> >>> Changes to perf tools are now (since V4) fleshed out. >>> >>> >>> Changes in V5: >>> >>> perf/core: Add aux_pause, aux_resume, aux_start_paused >>> Added James' Ack >>> >>> perf/x86/intel: Do not enable large PEBS for events with aux actions or aux sampling >>> New patch >>> >>> perf tools >>> Added Ian's Ack >>> >>> Changes in V4: >>> >>> perf/core: Add aux_pause, aux_resume, aux_start_paused >>> Rename aux_output_cfg -> aux_action >>> Reorder aux_action bits from: >>> aux_pause, aux_resume, aux_start_paused >>> to: >>> aux_start_paused, aux_pause, aux_resume >>> Fix aux_action bits __u64 -> __u32 >>> >>> coresight: Have a stab at support for pause / resume >>> Dropped >>> >>> perf tools >>> All new patches >>> >>> Changes in RFC V3: >>> >>> coresight: Have a stab at support for pause / resume >>> 'mode' -> 'flags' so it at least compiles >>> >>> Changes in RFC V2: >>> >>> Use ->stop() / ->start() instead of ->pause_resume() >>> Move aux_start_paused bit into aux_output_cfg >>> Tighten up when Intel PT pause / resume is allowed >>> Add an example of how it might work for CoreSight >> >> Any more comments? >> > > Ping > Kernel patch still applies. There was a V6 for it: https://lore.kernel.org/linux-perf-users/20240216093128.77452-1-adrian.hunter@intel.com/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel