• Arnaldo Carvalho de Melo's avatar
    tools arch x86: Sync the msr-index.h copy with the kernel sources · b29781af
    Arnaldo Carvalho de Melo authored
    To pick up the changes from these csets:
    
      be482ff9 ("x86/bhi: Enumerate Branch History Injection (BHI) bug")
      0f4a8376 ("x86/bhi: Define SPEC_CTRL_BHI_DIS_S")
    
    That cause no changes to tooling:
    
      $ tools/perf/trace/beauty/tracepoints/x86_msr.sh > x86_msr.before
      $ objdump -dS /tmp/build/perf-tools-next/util/amd-sample-raw.o > amd-sample-raw.o.before
      $ cp arch/x86/include/asm/msr-index.h tools/arch/x86/include/asm/msr-index.h
      $ make -C tools/perf O=/tmp/build/perf-tools-next
      <SNIP>
      CC      /tmp/build/perf-tools-next/trace/beauty/tracepoints/x86_msr.o
      <SNIP>
      CC      /tmp/build/perf-tools-next/util/amd-sample-raw.o
      <SNIP>
      $ objdump -dS /tmp/build/perf-tools-next/util/amd-sample-raw.o > amd-sample-raw.o.after
      $ tools/perf/trace/beauty/tracepoints/x86_msr.sh > x86_msr.after
      $ diff -u x86_msr.before x86_msr.after
      $ diff -u amd-sample-raw.o.before amd-sample-raw.o.after
    
    Just silences this perf build warning:
    
      Warning: Kernel ABI header differences:
        diff -u tools/arch/x86/include/asm/msr-index.h arch/x86/include/asm/msr-index.h
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Daniel Sneddon <daniel.sneddon@linux.intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Kan Liang <kan.liang@linux.intel.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: https://lore.kernel.org/lkml/ZifCnEZFx5MZQuIW@x1Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    b29781af
msr-index.h 45.7 KB