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 7b7735c commit 6589c93Copy full SHA for 6589c93
arch/s390/kernel/idle.c
@@ -14,6 +14,7 @@
14
#include <linux/init.h>
15
#include <linux/cpu.h>
16
#include <linux/sched/cputime.h>
17
+#include <trace/events/power.h>
18
#include <asm/nmi.h>
19
#include <asm/smp.h>
20
#include "entry.h"
@@ -32,11 +33,12 @@ void enabled_wait(void)
32
33
PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK;
34
clear_cpu_flag(CIF_NOHZ_DELAY);
35
36
+ trace_cpu_idle_rcuidle(1, smp_processor_id());
37
local_irq_save(flags);
38
/* Call the assembler magic in entry.S */
39
psw_idle(idle, psw_mask);
40
local_irq_restore(flags);
-
41
+ trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id());
42
43
/* Account time spent with enabled wait psw loaded as idle time. */
44
write_seqcount_begin(&idle->seqcount);
0 commit comments