[patch v3 16/16] btrace, x86: restrict to Atom

Mark Kettenis mark.kettenis@xs4all.nl
Mon Oct 1 19:24:00 GMT 2012


> From: "Metzger, Markus T" <markus.t.metzger@intel.com>
> Date: Fri, 28 Sep 2012 06:51:24 +0000
> 
> > But I still think putting CPU model specific checks anywhere in GDB is
> > wrong.  If there are broken kernels out there, figure out a way to
> > detect them.
> 
> The cpuid check is simple and reliable. Anything else will be more
> complicated and also less straight-forward to understand.

But what if btrace support shows up for other CPUs, or if a next
generation Atom shows up that has a different cpuid?



More information about the Gdb-patches mailing list