perf report: Add tools/arch/x86/include/asm/amd-ibs.h
authorKim Phillips <>
Tue, 17 Aug 2021 22:15:08 +0000 (17:15 -0500)
committerArnaldo Carvalho de Melo <>
Fri, 10 Sep 2021 21:13:20 +0000 (18:13 -0300)
perf report: Add tools/arch/x86/include/asm/amd-ibs.h

This is a tools/-side patch for the patch that adds the original copy
of the IBS header file, in arch/x86/include/asm/.

We also add an entry to, so future changes continue
to be copied.

Committer notes:

Had to add this

  -#include <asm/msr-index.h>
  +#include "msr-index.h"

And change the entry to ignore this line when diffing
with the original kernel header.

This is needed so that we can use 'perf report' on a with IBS
data on a !x86 system, i.e. building on ARM fails without this as there
is no asm/msr-index.h there.

This was done on the next patch in this series and is done for things
like Intel PT and ARM CoreSight.

Signed-off-by: Kim Phillips <>
Cc: Alexander Shishkin <>
Cc: Boris Ostrovsky <>
Cc: Ian Rogers <>
Cc: Ingo Molnar <>
Cc: Jiri Olsa <>
Cc: Joao Martins <>
Cc: Konrad Rzeszutek Wilk <>
Cc: Mark Rutland <>
Cc: Michael Petlan <>
Cc: Namhyung Kim <>
Cc: Peter Zijlstra <>
Cc: Robert Richter <>
Cc: Stephane Eranian <>
Link: https //
Signed-off-by: Arnaldo Carvalho de Melo <>
tools/arch/x86/include/asm/amd-ibs.h [new file with mode: 0644]