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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7251BC636D6 for ; Wed, 22 Feb 2023 22:47:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229869AbjBVWrR (ORCPT ); Wed, 22 Feb 2023 17:47:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232885AbjBVWrQ (ORCPT ); Wed, 22 Feb 2023 17:47:16 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A110828D13; Wed, 22 Feb 2023 14:47:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A2EBD615B5; Wed, 22 Feb 2023 22:36:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0432EC433EF; Wed, 22 Feb 2023 22:36:55 +0000 (UTC) Date: Wed, 22 Feb 2023 17:36:54 -0500 From: Steven Rostedt To: Dave Hansen Cc: "Joseph, Jithu" , hdegoede@redhat.com, markgross@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, gregkh@linuxfoundation.org, ashok.raj@intel.com, tony.luck@intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com, thiago.macieira@intel.com, athenas.jimenez.gonzalez@intel.com, sohil.mehta@intel.com Subject: Re: [PATCH v2 4/7] platform/x86/intel/ifs: Implement Array BIST test Message-ID: <20230222173654.275a2c78@gandalf.local.home> In-Reply-To: <8fb5ebbf-d468-169d-5603-b267e7b42516@intel.com> References: <20230131234302.3997223-1-jithu.joseph@intel.com> <20230214234426.344960-1-jithu.joseph@intel.com> <20230214234426.344960-5-jithu.joseph@intel.com> <5d57f42a-1bfc-5e6a-bb49-556ecb7402af@intel.com> <9c55a34b-c17e-2a62-9989-902ce940dde5@intel.com> <42ac85ea-0ffe-55fc-57c2-6f4555e8dc5b@intel.com> <8fb5ebbf-d468-169d-5603-b267e7b42516@intel.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org On Wed, 22 Feb 2023 14:28:55 -0800 Dave Hansen wrote: > On 2/22/23 14:07, Joseph, Jithu wrote: > > Since the trace has to be explicitly enabled (I thought it is okay to > > add a more convenient custom one only to be enabled for detailed > > analysis when required). > > man perf-script Or do it in C with tracefs :-) https://www.trace-cmd.org/Documentation/libtracefs/ -- Steve > > You should be able to write one to do exactly what you need in about 10 > minutes. No new tracepoints, no new kernel code to maintain. Knock > yourself out with whatever conveniences you want. Just do it in userspace. > > I still think this patch should go away.