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 44C11C4345F for ; Wed, 24 Apr 2024 10:39:29 +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=IApLjh+AmXZ9AL0n07iEra+0alKziv0XRk514wHa6Kc=; b=kuFFOFGGrsz1fV w0i18lk25ustx5S5ijcO2hJTCS1Cd6Z3Vsc22o0ys2TOv0WBlIWRIzl+lAvwK6cHtV8DubspMIVM4 iC8hsT2fT10PnRCEV6vvT0Bq/ztO+HMsqf8TcZVXmkhH+1AD8kMhGYt01UQY1xIXd8g0Dc1mOvBiz vLg1wnOROAR89itdJnLemzO0wOPWjQSMH2uyY7QaPTZVsUQs5mszajRBTXvarFkk8DKLC+mZitmOa 5ZpUHZYjma9opWf5etwnKHERdRfXkwuuP0P3KA4zLrZhe04TZ9R6xqUSJblYTTnSW/bfE9rjsaggF f++YUO1nEel3TGv3XBGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rza22-00000003jC6-0xl6; Wed, 24 Apr 2024 10:39:18 +0000 Received: from mgamail.intel.com ([198.175.65.15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rza1z-00000003jBG-1kUk for linux-arm-kernel@lists.infradead.org; Wed, 24 Apr 2024 10:39:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713955156; x=1745491156; h=message-id:date:mime-version:subject:from:to:cc: references:in-reply-to:content-transfer-encoding; bh=ic4AO+Elm5/i8oez5wDqDP2r2b8pMbypBYplKYgzygI=; b=KlWr7buNL5HBi3Qx41vCMFETqP4OqpPgNyb7UEUl0+0smK0hIr/SSxUR hh4Kh2cw0pq9IKOFUkTUsOYj6vfrDrvnxZEY3L1VHdxPxQxOIj/bDLrVb fih3qhyzoBk5ot7FaGMLSP1IAGwnuAMYj7ReY269/oQowDMw25sjbcndY W92GuqvwoC6/lRjQskMMdQQWwMPPskdu1qipqrHde+KhTsjX7fVEaK/91 Y5/7lXtmw4kDrbzzHTvnu07Ph0w3mO8dnY/Jxhz60HQS1fsXKCAyyQVDx yJ473k5rN5A19H81RC/TWFbNXRxOfI8gYs4FioaQ1VTbfWzvpUnM8S+Wq A==; X-CSE-ConnectionGUID: Sg8//ruaQXiMMeEotY/SFQ== X-CSE-MsgGUID: is/wR4Z8TVafumUc0Z70JA== X-IronPort-AV: E=McAfee;i="6600,9927,11053"; a="13365911" X-IronPort-AV: E=Sophos;i="6.07,225,1708416000"; d="scan'208";a="13365911" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 03:39:13 -0700 X-CSE-ConnectionGUID: VPP0IJMPTwuF3lfMsOqIUQ== X-CSE-MsgGUID: aNUltn0LQlGz7s8AbV4/RQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,225,1708416000"; d="scan'208";a="24713014" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO [10.0.2.15]) ([10.252.46.54]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 03:39:07 -0700 Message-ID: <1cb114be-9585-4f85-af9f-4bafb2d15d2a@intel.com> Date: Wed, 24 Apr 2024 13:39: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> 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: <52f3abd2-4f75-4147-bc7b-c98960d9494b@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240424_033915_592966_C977DB43 X-CRM114-Status: GOOD ( 15.56 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel