Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2250751ybt; Tue, 16 Jun 2020 00:40:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhhu0/1CABD7aBquhcYiaLEyyzjKfUuui26r0tcBTx60PTR36/3OH3V47n7IoN6Vjx7+Ut X-Received: by 2002:a17:906:470c:: with SMTP id y12mr1620730ejq.336.1592293244038; Tue, 16 Jun 2020 00:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592293244; cv=none; d=google.com; s=arc-20160816; b=cGVL8R+N3DMx9eNw5STTtJYX0vGv7aNWfGSPBggQOiHR3RqkVI9mYKImo84crtBNEE GaKxL37iYdrtwE1aVzX1I05Oly5+2OSPVNA65PMGcFCfKsFFDyAgTEJlX1cyJ3G1k+7Q O0Jd1ul5BZtILx5gopWDVZZLKUi7vb/G9DUtcqIxnEkEhcTNlfJAZWc+jUiJIYzI4BEC J0FEETF95DcuYQLvQbGlbGHv+3MROy9otT8V1QkALH7EUlCoQGxJZzDPWa4fuSSg/Vos BSq9tV8mcBcDc8QN/Quud/6/T1tqN3zz3b8aGN5qTW4iKfJGejtEBiwEprq316u5eojX MBFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=o7Fi8gZ38zNu687oS2TJdt+3cTgyPHFj0ub2UhPXlvI=; b=suX6l56ADdaP0b9oiMfQtgzUOM2BId7l9chn6fSXK+6U79R3+ZayzCPTtex7en3+XO PsusjhbKsb+LyPjNToNdyxTCwS4G2rPQi+lCVVetKJNvBRoUyrNVKCjB4pgJFR81BeIM XtSc/sYLXBmkwfCfuNnNOPlwUQLU8U+jG3eu/WDlKbjHu18wceZ6E3kJbwY1qiFlo05B LDzvt8Dq4ihs4fDobRd9M3cfBI8CU9DToa3bonBjIs4LEl8TzOaKa50unL9E12+Irz72 8/6YtqPet/KfbsaNinJ4wF2e5aqUWed0mLEBNlgAmVnyFwBGr3tfgG10XjDmbMYSu7bP MKVQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h2si11006268eji.77.2020.06.16.00.40.20; Tue, 16 Jun 2020 00:40:44 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726506AbgFPHib (ORCPT + 99 others); Tue, 16 Jun 2020 03:38:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbgFPHia (ORCPT ); Tue, 16 Jun 2020 03:38:30 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79C71C05BD43; Tue, 16 Jun 2020 00:38:30 -0700 (PDT) Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1jl6Au-0006oR-12; Tue, 16 Jun 2020 09:38:28 +0200 Date: Tue, 16 Jun 2020 09:38:27 +0200 From: Sebastian Andrzej Siewior To: Stephen Berman Cc: Thomas Gleixner , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: power-off delay/hang due to commit 6d25be57 (mainline) Message-ID: <20200616073827.vysntufld3ves666@linutronix.de> References: <87tuzjcovq.fsf@gmx.net> <20200610102514.4vdzu5u7d6vnpicn@linutronix.de> <87imfyh6yx.fsf@gmx.net> <87wo4dligz.fsf@gmx.net> <20200612110122.jossn5zrktcvpbpm@linutronix.de> <87tuzdrgm5.fsf@gmx.net> <20200614171005.3zy673p6bpwoqnmq@linutronix.de> <874krcsquv.fsf@gmx.net> <20200615145130.bcdidqkp6w23xb6c@linutronix.de> <87tuzbh482.fsf@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87tuzbh482.fsf@gmx.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-06-16 09:14:37 [+0200], Stephen Berman wrote: > > I set CONFIG_ACPI_DEBUG=y, applied the patch and rebuilt 5.6.4, but: > > $ cat /sys/kernel/debug/tracing/trace > trace.txt > cat: /sys/kernel/debug/tracing/trace: No such file or directory > > Here are all the 5.6.4 config options with "TRACING" or "TRACE"; do I > need to set any that aren't set? I see that "Kernel hacking ---> Tracers" is enabled. You should have one tracer enabled for that trace_printk() to work. You have context switch tracer so it should be enough. You might need CONFIG_DEBUG_FS (but it is set in your 5.1 config) or it is just not mounted. So I have here: | debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) | tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) Does it work for you if you mount it? > Steve Berman Sebastian