Re: [patch v4 13/13] btrace, x86: restrict to Atom

Mark Kettenis
2012-11-27T11:19:25Z

> From: <markus.t.metzger@intel.com>
> Date: Tue, 27 Nov 2012 11:49:11 +0100
>
> From: Markus Metzger <markus.t.metzger@intel.com>
>
> Restrict branch tracing support to Atom processors.
>
> 2012-11-27 Markus Metzger <markus.t.metzger@intel.com>
>
> * amd64-linux-nat.c (amd64_linux_supports_btrace): New.
> (_initialize_amd64_linux_nat): Change supports_btrace method.
> * i386-linux-nat.c (i386_linux_supports_btrace): New.
> (_initialize_i386_linux_nat): Change supports_btrace method.
>
> gdbserver/
> * linux-low.h (linux_target_ops): Add supports_btrace method.
> * linux-low.c (linux_low_supports_btrace): New.
> (linux_target_ops): Change supports_btrace method.
> * linux-x86-low.c (x86_supports_btrace): New.
> (the_low_target): Add supports_btrace method.

This is still unacceptable. This needs to be fixed in the Linux kernel.