This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v4 8/9] btrace: identify cpu


On 02/05/2015 04:27 PM, Markus Metzger wrote:
> Add a struct for identifying a processor and use it in linux-btrace.c when
> identifying the processor we're running on.
> 
> We will need this feature for the new btrace format.
> 
> 2015-02-05  Markus Metzger  <markus.t.metzger@intel.com>
> 
> gdb/
> 	* common/btrace-common.h (btrace_cpu_vendor, btrace_cpu): New.
> 	* nat/linux-btrace.c: Include x86-cpuid.h.

This looks stale.

> 	(btrace_this_cpu): New.
> 	(cpu_supports_bts): Call btrace_this_cpu.
> 	(intel_supports_bts): Add cpu parameter.


Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]