Re: Suspend/resume with FTRACE enabled doesnât work anymore

From: Steven Rostedt
Date: Wed Jan 17 2018 - 11:10:38 EST


On Wed, 17 Jan 2018 15:20:42 +0100
Paul Menzel <pmenzel+linux-ftrace@xxxxxxxxxxxxx> wrote:

> Dear Linux folks and Dell XPS 13 9360 users,
>
>
> Testing Linux 4.15-rc8 on a Lenovo T60 (32 bit) and Dell XPS 13 9360 (64
> bit) suspend to and resume from ACPI S3 doesnât work anymore.
> `./sleepgraph.py -config config/suspend-callgraph.cfg` [1] is used to
> enable the FTRACE framework.
>
> On the Lenovo T60 the system seems to enter ACPI S3 state just fine, but
> doesnât wake up.
>
> On the Dell XPS 13 9360 the system doesnât enter ACPI S3 and just
> freezes with the display still on, and the messages below.
>
> ```
> [â]
> INITIALIZING FTRACE...
> Setting trace buffers to 3145728 kB (786432 kB per cpu)
> ```


It's been fixed, and the the patch is in Linus's tree already:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0e3a18f4baf8e3754ac1e56f0ade924d0c0c721

-- Steve