Skip to content

Commit 001821b

Browse files
committed
perf trace beauty: Update the arch/x86/include/asm/irq_vectors.h copy with the kernel sources to pick POSTED_MSI_NOTIFICATION
To pick up the change in: f5a3562 ("x86/irq: Reserve a per CPU IDT vector for posted MSIs") That picks up this new vector: $ cp arch/x86/include/asm/irq_vectors.h tools/perf/trace/beauty/arch/x86/include/asm/irq_vectors.h $ tools/perf/trace/beauty/tracepoints/x86_irq_vectors.sh > after $ diff -u before after --- before 2024-05-27 12:50:47.708863932 -0300 +++ after 2024-05-27 12:51:15.335113123 -0300 @@ -1,6 +1,7 @@ static const char *x86_irq_vectors[] = { [0x02] = "NMI", [0x80] = "IA32_SYSCALL", + [0xeb] = "POSTED_MSI_NOTIFICATION", [0xec] = "LOCAL_TIMER", [0xed] = "HYPERV_STIMER0", [0xee] = "HYPERV_REENLIGHTENMENT", $ Now those will be known when pretty printing the irq_vectors:* tracepoints. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/lkml/ZlS34M0x30EFVhbg@x1 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent a3eed53 commit 001821b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tools/perf/trace/beauty/arch/x86/include/asm/irq_vectors.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,16 @@
9797

9898
#define LOCAL_TIMER_VECTOR 0xec
9999

100+
/*
101+
* Posted interrupt notification vector for all device MSIs delivered to
102+
* the host kernel.
103+
*/
104+
#define POSTED_MSI_NOTIFICATION_VECTOR 0xeb
105+
100106
#define NR_VECTORS 256
101107

102108
#ifdef CONFIG_X86_LOCAL_APIC
103-
#define FIRST_SYSTEM_VECTOR LOCAL_TIMER_VECTOR
109+
#define FIRST_SYSTEM_VECTOR POSTED_MSI_NOTIFICATION_VECTOR
104110
#else
105111
#define FIRST_SYSTEM_VECTOR NR_VECTORS
106112
#endif

0 commit comments

Comments
 (0)