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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 49C19C433EF for ; Tue, 8 Feb 2022 17:39:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CF49C10E207; Tue, 8 Feb 2022 17:39:13 +0000 (UTC) X-Greylist: delayed 393 seconds by postgrey-1.36 at gabe; Tue, 08 Feb 2022 17:39:12 UTC Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id 884FF10E207; Tue, 8 Feb 2022 17:39:12 +0000 (UTC) Date: Tue, 8 Feb 2022 18:32:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1644341556; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FXQEa9tksgp/5gwkciCn7oHgt+TmVIO+rWDMd36D+mM=; b=ge/Fq22zD/0XCDjYN6DG6DJ26Dwc6595F4+n7rW3kwFgq/l0TxYuQRrXwPL33XprL6ecHJ MLZ1yST7ngO7sKmGq4OP5dp9XugmaC1zDMFYFjr4vtfx8aWQfOc8JkXciOZTcuIIdPniWt TN0f2/0xHeTK/HmnsChL+HE9FzbZYPbRVPUBJXAOt3r2Y/r41mB5s/I645lSAo07cYyKUg 6CeGoPJEyv49koi9RLNiwJglh+UwWzdsGfnun++Gr3691dZf3Rq4rjecTO5/P1s+A9da60 yCXe9l6RicrXGoLq3U43gcRk9BgpV8mys7pqWY6f/9u8NEZrrp1PUm8KHVHGbA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1644341556; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FXQEa9tksgp/5gwkciCn7oHgt+TmVIO+rWDMd36D+mM=; b=diehuV6NvVs7iijhB6Lp46ogXwnjNfI3H6dbzbzO6ZAvePnityxJQUV3Y9LIVJo9L8ZL+n KYEkR31JKUxgWqDA== From: Sebastian Andrzej Siewior To: Steven Rostedt Message-ID: References: <20211214140301.520464-1-bigeasy@linutronix.de> <20211214140301.520464-8-bigeasy@linutronix.de> <20211214093652.0dfa5b6f@gandalf.local.home> <20211214115837.6f33a9b2@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20211214115837.6f33a9b2@gandalf.local.home> Subject: Re: [Intel-gfx] [PATCH 7/8] drm/i915: Disable tracing points on PREEMPT_RT X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Luca Abeni , Thomas Gleixner Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On 2021-12-14 11:58:37 [-0500], Steven Rostedt wrote: > On Tue, 14 Dec 2021 18:34:50 +0200 > Ville Syrj=C3=A4l=C3=A4 wrote: >=20 > > Looks lightly tedious. Can't we have "slow" (or whatever) versions of > > the trace macros so we could just declare these the same was as before > > without having to manually write that wrapper for every event? >=20 > That would be quite tedious as well ;-) =E2=80=A6 > It may be possible to do, but it will be far from trivial, and I'm not su= re > I want this to be an easy option. Locks should not be taken from trace > events in general, as they are not tested with lockdep when the trace > points are not enabled, and could hide deadlocks that may not appear until > running on production. So we disable the tracing points or try what Steven suggested? > -- Steve Sebastian