Loading drivers/irqchip/qcom/mpm.c +2 −0 Original line number Diff line number Diff line Loading @@ -466,6 +466,8 @@ static int system_pm_update_wakeup(bool from_idle) } msm_mpm_timer_write((uint32_t *)&wakeup); trace_mpm_wakeup_time(from_idle, wakeup, arch_counter_get_cntvct()); return 0; } Loading include/trace/events/mpm.h +22 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,28 @@ TRACE_EVENT(mpm_wakeup_pending_irqs, TP_printk("index:%u wakeup_irqs:0x%x", __entry->index, __entry->irqs) ); TRACE_EVENT(mpm_wakeup_time, TP_PROTO(bool from_idle, u64 wakeup, u64 current_ticks), TP_ARGS(from_idle, wakeup, current_ticks), TP_STRUCT__entry( __field(bool, from_idle) __field(u64, wakeup) __field(u64, current_ticks) ), TP_fast_assign( __entry->from_idle = from_idle; __entry->wakeup = wakeup; __entry->current_ticks = current_ticks; ), TP_printk("idle:%d wakeup:0x%llx current:0x%llx", __entry->from_idle, __entry->wakeup, __entry->current_ticks) ); #endif #define TRACE_INCLUDE_FILE mpm #include <trace/define_trace.h> Loading
drivers/irqchip/qcom/mpm.c +2 −0 Original line number Diff line number Diff line Loading @@ -466,6 +466,8 @@ static int system_pm_update_wakeup(bool from_idle) } msm_mpm_timer_write((uint32_t *)&wakeup); trace_mpm_wakeup_time(from_idle, wakeup, arch_counter_get_cntvct()); return 0; } Loading
include/trace/events/mpm.h +22 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,28 @@ TRACE_EVENT(mpm_wakeup_pending_irqs, TP_printk("index:%u wakeup_irqs:0x%x", __entry->index, __entry->irqs) ); TRACE_EVENT(mpm_wakeup_time, TP_PROTO(bool from_idle, u64 wakeup, u64 current_ticks), TP_ARGS(from_idle, wakeup, current_ticks), TP_STRUCT__entry( __field(bool, from_idle) __field(u64, wakeup) __field(u64, current_ticks) ), TP_fast_assign( __entry->from_idle = from_idle; __entry->wakeup = wakeup; __entry->current_ticks = current_ticks; ), TP_printk("idle:%d wakeup:0x%llx current:0x%llx", __entry->from_idle, __entry->wakeup, __entry->current_ticks) ); #endif #define TRACE_INCLUDE_FILE mpm #include <trace/define_trace.h>