login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
22
Re: ftraced and suspend to ram
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rafael J. Wysocki
Subject:
Re: ftraced and suspend to ram
Date: Friday, August 22, 2008 - 2:17 pm
On Friday, 22 of August 2008, Marcin Slusarz wrote:
quoted text
> On Fri, Aug 22, 2008 at 06:39:34PM +0200, Rafael J. Wysocki wrote: > > On Friday, 22 of August 2008, Marcin Slusarz wrote: > > > On Fri, Aug 22, 2008 at 09:23:43AM +0200, Pavel Machek wrote: > > > > > > > > > > * Rafael J. Wysocki <rjw@sisk.pl> wrote: > > > > > > > > > > > > > The code in question is the ftraced() function in > > > > > > > > kernel/trace/ftrace.c > > > > > > > > > > > > > > Thanks, I'll have a look in a while. > > > > > > > > > > > > Can you try the appended patch, please? > > > > > > > > > > makes sense - i've applied it to tip/tracing/urgent, see the tidied up > > > > > commit below. > > > > > > > > > > It should be no big issue not being able to trace across suspend+resume > > > > > - and that restriction will go away with Steve's build-time based mcount > > > > > patching mechanism in v2.6.28. > > > > > > > > Patch looks okay to me, but I'm not sure if another issue is not > > > > hiding under it. Did anyone actually test ftrace + suspend after > > > > applying this? > > > > > > I just tested this patch - it didn't help ;( > > > > > > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c > > > index 49f4c3f..02e41b2 100644 > > > --- a/kernel/trace/ftrace.c > > > +++ b/kernel/trace/ftrace.c > > > @@ -27,6 +27,7 @@ > > > #include <linux/ctype.h> > > > #include <linux/hash.h> > > > #include <linux/list.h> > > > +#include <linux/freezer.h> > > > > > > #include <asm/ftrace.h> > > > > This is needed to fix compilation, sorry for the omission. > > > > Still, did you test ftrace + suspend with the original patch and your fix > > applied and if you did, then what happend? > > Suspend works fine. When I hit power button I see some informations from > video card (nvidia), then screen goes black and monitor says "no signal" > and then I see the same informations from video card, then BIOS and GRUB. > When everything works fine, X comes back after first infos from video card.
I suspect that something under arch/x86/kernel/acpi/realmode is broken somehow. Thanks, Rafael --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
ftraced and suspend to ram
, Steven Rostedt
, (Thu Aug 21, 8:49 am)
Re: ftraced and suspend to ram
, Rafael J. Wysocki
, (Thu Aug 21, 11:15 am)
Re: ftraced and suspend to ram
, Steven Rostedt
, (Thu Aug 21, 11:26 am)
Re: ftraced and suspend to ram
, Rafael J. Wysocki
, (Thu Aug 21, 11:37 am)
Re: ftraced and suspend to ram
, Rafael J. Wysocki
, (Thu Aug 21, 12:59 pm)
Re: ftraced and suspend to ram
, Ingo Molnar
, (Thu Aug 21, 9:46 pm)
Re: ftraced and suspend to ram
, Pavel Machek
, (Fri Aug 22, 12:23 am)
Re: ftraced and suspend to ram
, Rafael J. Wysocki
, (Fri Aug 22, 3:22 am)
Re: ftraced and suspend to ram
, Marcin Slusarz
, (Fri Aug 22, 3:35 am)
Re: ftraced and suspend to ram
, Pavel Machek
, (Fri Aug 22, 3:46 am)
Re: ftraced and suspend to ram
, Rafael J. Wysocki
, (Fri Aug 22, 9:39 am)
Re: ftraced and suspend to ram
, Steven Rostedt
, (Fri Aug 22, 1:33 pm)
Re: ftraced and suspend to ram
, Rafael J. Wysocki
, (Fri Aug 22, 1:52 pm)
Re: ftraced and suspend to ram
, Marcin Slusarz
, (Fri Aug 22, 1:54 pm)
Re: ftraced and suspend to ram
, Steven Rostedt
, (Fri Aug 22, 1:55 pm)
Re: ftraced and suspend to ram
, Rafael J. Wysocki
, (Fri Aug 22, 2:11 pm)
Re: ftraced and suspend to ram
, Rafael J. Wysocki
, (Fri Aug 22, 2:17 pm)
[PATCH] ftrace: disable tracing for suspend to ram
, Steven Rostedt
, (Wed Aug 27, 6:14 am)
Re: [PATCH] ftrace: disable tracing for suspend to ram
, Rafael J. Wysocki
, (Wed Aug 27, 6:26 am)
Re: [PATCH] ftrace: disable tracing for suspend to ram
, Marcin Slusarz
, (Wed Aug 27, 2:27 pm)
Re: [PATCH] ftrace: disable tracing for suspend to ram
, Pavel Machek
, (Thu Aug 28, 12:28 am)
[PATCH] ftrace: disable tracing for hibernation
, Rafael J. Wysocki
, (Thu Aug 28, 5:39 am)
Re: [PATCH] ftrace: disable tracing for hibernation
, Ingo Molnar
, (Thu Aug 28, 5:42 am)
Re: [PATCH] ftrace: disable tracing for hibernation
, Steven Rostedt
, (Thu Aug 28, 5:44 am)
Re: [PATCH] ftrace: disable tracing for suspend to ram
, Steven Rostedt
, (Fri Aug 29, 6:43 am)
Re: [PATCH] ftrace: disable tracing for hibernation
, Pavel Machek
, (Fri Aug 29, 4:53 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
swhiteho
[PATCH 42/51] [GFS2] Move inode deletion out of blocking_cb
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Benjamin Herrenschmidt
[git pull] Please pull powerpc.git merge branch
Vivek Goyal
Re: [PATCH v4] sched: automated per session task groups
Bart Van Assche
Re: Integration of SCST in the mainstream Linux kernel
git
:
Mike Miller
git message
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Jeff King
Re: [PATCH] t7004: test that "git-tag -u" implies "-s"
Christian MICHON
Re: VCS comparison table
Scott Chacon
Re: why not TortoiseGit
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
David Miller
Re: [PATCH 2/5] dccp: Auto-load (when supported) CCID plugins for negotiation
Chuck Lever
Re: svc: failed to register lockdv1 RPC service (errno 97).
David Miller
Re: [PATCH 2/3] [TCP]: Comment fastpath_cnt_hint off-by-one trap
git-commits-head
:
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
NFSv4: Move error handling out of the delegation generic code
Linux Kernel Mailing List
Disallow gcc versions 4.1.{0,1}
Linux Kernel Mailing List
V4L/DVB: au8522: fix race condition in switching from digital to analog mode
Linux Kernel Mailing List
[ARM] 4671/1: ep93xx: remove obsolete gpio_line_* operations
openbsd-misc
:
Christian Weisgerber
Re: CARP with a single public IP address
Marco Peereboom
Re: OpenBSD culture?
Vikas N Kumar
Re: Singularity OS
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
Colocation donated by:
Syndicate