Message ID | 20241025060532.4f2d6418@rorschach.local.home (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | libtraceeval task-eval: Fix passing wrong teval to helper function | expand |
diff --git a/samples/task-eval.c b/samples/task-eval.c index 178936d..5b6da1a 100644 --- a/samples/task-eval.c +++ b/samples/task-eval.c @@ -677,7 +677,7 @@ static void sched_out(struct task_data *tdata, const char *comm, /* Update the individual thread as well */ insert_thread_data(pdata->teval_threads, pid, RUNNING, prio, delta, record->ts); - insert_cpu_data(pdata->teval_threads, record->cpu, RUNNING, delta, record->ts); + insert_cpu_data(pdata->teval_cpus, record->cpu, RUNNING, delta, record->ts); } static void sched_in(struct task_data *tdata, const char *comm,