[patch v3 16/16] btrace, x86: restrict to Atom
Mon Oct 1 19:24:00 GMT 2012
> From: "Metzger, Markus T" <firstname.lastname@example.org>
> 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