@@ -83,7 +83,7 @@ clock rate for set_rate.
=======================
The power domain events are used for power domains transitions
-power_domain_target "%s state=%lu cpu_id=%lu"
+power_domain_target "%s state=%lu"
The first parameter gives the power domain name (e.g. "mpu_pwrdm").
The second parameter is the power domain target state.
@@ -160,8 +160,7 @@ static int _pwrdm_state_switch(struct powerdomain *pwrdm, int flag)
trace_state = (PWRDM_TRACE_STATES_FLAG |
((state & OMAP_POWERSTATE_MASK) << 8) |
((prev & OMAP_POWERSTATE_MASK) << 0));
- trace_power_domain_target(pwrdm->name, trace_state,
- smp_processor_id());
+ trace_power_domain_target(pwrdm->name, trace_state);
}
break;
default:
@@ -423,8 +422,7 @@ int pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst)
if (arch_pwrdm && arch_pwrdm->pwrdm_set_next_pwrst) {
/* Trace the pwrdm desired target state */
- trace_power_domain_target(pwrdm->name, pwrst,
- smp_processor_id());
+ trace_power_domain_target(pwrdm->name, pwrst);
/* Program the pwrdm desired target state */
ret = arch_pwrdm->pwrdm_set_next_pwrst(pwrdm, pwrst);
}
@@ -206,31 +206,29 @@ DEFINE_EVENT(clock, clock_set_rate,
*/
DECLARE_EVENT_CLASS(power_domain,
- TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id),
+ TP_PROTO(const char *name, unsigned int state),
- TP_ARGS(name, state, cpu_id),
+ TP_ARGS(name, state),
TP_STRUCT__entry(
__string( name, name )
__field( u64, state )
- __field( u64, cpu_id )
),
TP_fast_assign(
__assign_str(name, name);
__entry->state = state;
- __entry->cpu_id = cpu_id;
),
- TP_printk("%s state=%lu cpu_id=%lu", __get_str(name),
- (unsigned long)__entry->state, (unsigned long)__entry->cpu_id)
+ TP_printk("%s state=%lu", __get_str(name),
+ (unsigned long)__entry->state)
);
DEFINE_EVENT(power_domain, power_domain_target,
- TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id),
+ TP_PROTO(const char *name, unsigned int state),
- TP_ARGS(name, state, cpu_id)
+ TP_ARGS(name, state)
);
#endif /* _TRACE_POWER_H */