[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091223160050.0c282ad2.randy.dunlap@oracle.com>
Date: Wed, 23 Dec 2009 16:00:50 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Li Zefan <lizf@...fujitsu.com>
Cc: lkml <linux-kernel@...r.kernel.org>, eduard.munteanu@...ux360.ro,
Pekka Enberg <penberg@...helsinki.fi>,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: kmemtrace.txt question: kernel parameter(s)?
On Fri, 18 Dec 2009 08:57:49 +0800 Li Zefan wrote:
> Randy Dunlap wrote:
> > Hi,
> >
> > Documentation/trace/kmemtrace.txt says:
> >
> > Q: 'cat /sys/kernel/debug/kmemtrace/total_overruns' is non-zero, how do I fix
> > this? Should I worry?
> > A: If it's non-zero, this affects kmemtrace's accuracy, depending on how
> > large the number is. You can fix it by supplying a higher
> > 'kmemtrace.subbufs=N' kernel parameter.
> >
> >
> > Where is this kernel parameter implemented and where is it documented?
> > or should this Answer just be fixed?
> >
>
> The whole documentation is out-dated. The original kmemtrace was based on
> relay, and then it moved to ftrace, without updating the documentation.
Thank you. I guess that explains why kmemtraced (from kmemtrace-user.git)
fails with:
Could not open() file /sys/kernel/debug/kmemtrace/cpu0: No such file or directory
Eduard, can we get Documentation/trace/kmemtrace.txt updated, please?
---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists