We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec5a06 commit 6fb2e09Copy full SHA for 6fb2e09
arch/parisc/kernel/traps.c
@@ -31,6 +31,7 @@
31
#include <linux/uaccess.h>
32
#include <linux/kdebug.h>
33
#include <linux/kfence.h>
34
+#include <linux/perf_event.h>
35
36
#include <asm/assembly.h>
37
#include <asm/io.h>
@@ -633,6 +634,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
633
634
/* Assist Exception Trap, i.e. floating point exception. */
635
die_if_kernel("Floating point exception", regs, 0); /* quiet */
636
__inc_irq_stat(irq_fpassist_count);
637
+ perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
638
handle_fpe(regs);
639
return;
640
0 commit comments