]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
perf trace beauty: Update the arch/x86/include/asm/irq_vectors.h copy with the kernel...
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 May 2024 15:51:30 +0000 (12:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 May 2024 16:42:18 +0000 (13:42 -0300)
To pick up the change in:

  f5a3562ec9dd29e6 ("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>
tools/perf/trace/beauty/arch/x86/include/asm/irq_vectors.h

index d18bfb238f660fcccdfdf444a60720f03163e4d5..13aea8fc3d45fcf462b18fddc4a90fffcc87a631 100644 (file)
 
 #define LOCAL_TIMER_VECTOR             0xec
 
+/*
+ * Posted interrupt notification vector for all device MSIs delivered to
+ * the host kernel.
+ */
+#define POSTED_MSI_NOTIFICATION_VECTOR 0xeb
+
 #define NR_VECTORS                      256
 
 #ifdef CONFIG_X86_LOCAL_APIC
-#define FIRST_SYSTEM_VECTOR            LOCAL_TIMER_VECTOR
+#define FIRST_SYSTEM_VECTOR            POSTED_MSI_NOTIFICATION_VECTOR
 #else
 #define FIRST_SYSTEM_VECTOR            NR_VECTORS
 #endif