mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "sched/tracing: Fix format specifiers in sched_compute_energy"
This commit is contained in:
commit
e15fb218da
1 changed files with 6 additions and 3 deletions
|
|
@ -245,6 +245,7 @@ TRACE_EVENT(sched_migrate_task,
|
|||
__field( int, prio )
|
||||
__field( int, orig_cpu )
|
||||
__field( int, dest_cpu )
|
||||
__field( int, running )
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
|
|
@ -253,11 +254,13 @@ TRACE_EVENT(sched_migrate_task,
|
|||
__entry->prio = p->prio; /* XXX SCHED_DEADLINE */
|
||||
__entry->orig_cpu = task_cpu(p);
|
||||
__entry->dest_cpu = dest_cpu;
|
||||
__entry->running = (p->state == TASK_RUNNING);
|
||||
),
|
||||
|
||||
TP_printk("comm=%s pid=%d prio=%d orig_cpu=%d dest_cpu=%d",
|
||||
TP_printk("comm=%s pid=%d prio=%d orig_cpu=%d dest_cpu=%d running=%d",
|
||||
__entry->comm, __entry->pid, __entry->prio,
|
||||
__entry->orig_cpu, __entry->dest_cpu)
|
||||
__entry->orig_cpu, __entry->dest_cpu,
|
||||
__entry->running)
|
||||
);
|
||||
|
||||
/*
|
||||
|
|
@ -987,7 +990,7 @@ TRACE_EVENT(sched_compute_energy,
|
|||
__entry->best_energy = best_energy;
|
||||
),
|
||||
|
||||
TP_printk("pid=%d comm=%s util=%lu prev_cpu=%d prev_energy=%llu eval_cpu=%d eval_energy=%llu best_energy_cpu=%d best_energy=%llu",
|
||||
TP_printk("pid=%d comm=%s util=%lu prev_cpu=%d prev_energy=%lu eval_cpu=%d eval_energy=%lu best_energy_cpu=%d best_energy=%lu",
|
||||
__entry->pid, __entry->comm, __entry->util, __entry->prev_cpu,
|
||||
__entry->prev_energy, __entry->eval_cpu, __entry->eval_energy,
|
||||
__entry->best_energy_cpu, __entry->best_energy)
|
||||
|
|
|
|||
Loading…
Reference in a new issue