Re: [git-pull -tip V2] x86: cpu architecture debug code

Ingo Molnar
2009-03-10T17:46:01Z

* Jaswinder Singh Rajput <jaswinder@kernel.org> wrote:

> On Tue, 2009-03-10 at 16:20 +0100, Ingo Molnar wrote:
> > * Jaswinder Singh Rajput <jaswinder@kernel.org> wrote:
> >
> > > +#include <linux/interrupt.h>
> > > +#include <linux/compiler.h>
> > > +#include <linux/kprobes.h>
> > > +#include <linux/signal.h>
> > > +#include <linux/kernel.h>
> > > +#include <linux/module.h>
> > > +#include <linux/errno.h>
> > > +#include <linux/sched.h>
> > > +#include <linux/types.h>
> > > +#include <linux/init.h>
> > > +#include <linux/smp.h>
> > > +#include <linux/slab.h>
> > > +#include <linux/percpu.h>
> > > +#include <linux/debugfs.h>
> > > +#include <linux/seq_file.h>
> >
> > If you look at arch/x86/mm/fault.c, they are sorted by length,
> > and within the same length they are sorted alphabetically.
>
> Ok fixed, new pull request:
>
> The following changes since commit 23eeaab0397190b112591dab13d1fb196f099254:
> Ingo Molnar (1):
> Merge branch 'tracing/ftrace'
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/linux-2.6-tip-cpu.git master
>
> Jaswinder Singh Rajput (1):
> x86: cpu architecture debug code
>
> arch/x86/Kconfig | 6 +
> arch/x86/include/asm/cpu_debug.h | 193 ++++++++++
> arch/x86/kernel/cpu/Makefile | 2 +
> arch/x86/kernel/cpu/cpu_debug.c | 784 ++++++++++++++++++++++++++++++++++++++
> 4 files changed, 985 insertions(+), 0 deletions(-)
> create mode 100755 arch/x86/include/asm/cpu_debug.h
> create mode 100755 arch/x86/kernel/cpu/cpu_debug.c

Thanks - picked it up into tip:x86/debug. (Note that i
rearranged the Makefile details a bit so that it does not
conflict with tip:perfcounters)

Not yet in tip:master, because it triggers this build failure:

arch/x86/kernel/cpu/cpu_debug.c: In function ‘print_dt’:
arch/x86/kernel/cpu/cpu_debug.c:475: error: implicit declaration of function ‘store_ldt’

Ingo