]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
x86/vector: Fix the args of vector_alloc tracepoint
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Fri, 1 Jun 2018 06:50:31 +0000 (14:50 +0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 9 Nov 2018 19:00:33 +0000 (17:00 -0200)
BugLink: http://bugs.launchpad.net/bugs/1800537
commit 838d76d63ec4eaeaa12bedfa50f261480f615200 upstream.

The vector_alloc tracepont reversed the reserved and ret aggs, that made
the trace print wrong. Exchange them.

Fixes: 8d1e3dca7de6 ("x86/vector: Add tracepoints for vector management")
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: hpa@zytor.com
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20180601065031.21872-1-douly.fnst@cn.fujitsu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/x86/include/asm/trace/irq_vectors.h

index 22647a642e98c41508dab9976a1ff4665b97a4d2..0af81b590a0c44e9984f8373ff750a93d317dfba 100644 (file)
@@ -236,7 +236,7 @@ TRACE_EVENT(vector_alloc,
        TP_PROTO(unsigned int irq, unsigned int vector, bool reserved,
                 int ret),
 
-       TP_ARGS(irq, vector, ret, reserved),
+       TP_ARGS(irq, vector, reserved, ret),
 
        TP_STRUCT__entry(
                __field(        unsigned int,   irq             )