Tim Wiederhake 10b5e789c5 cpu-data: Pretend to always run on logical processor #0
The output of cpuid depends on the logical processor id the process
runs on, as reflected by the "local apic id" present in cpuid leaves
(eax=1,ebx=0), (eax=11,ebx=0), and (eax=11,ebx=1). This produces
arbitrary changes in the output files that complicate comparisons.

This patch masks the occurences of the local apic id with 0x00, so
that two consecutive runs of "./cpu-data.py gather" produce identical
results.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
2021-01-08 18:07:00 +01:00
..
2020-06-10 14:00:38 +02:00
2020-07-10 09:40:58 +02:00
2020-02-24 23:15:50 +01:00
2020-06-10 14:00:38 +02:00
2020-11-27 16:28:31 +01:00
2020-11-27 16:28:31 +01:00
2020-02-24 23:15:50 +01:00