Messages in this thread | | | From | Cong Wang <> | Date | Tue, 22 May 2018 17:34:57 -0700 | Subject | Re: [PATCH 3/3] sched/fair: add tracepoints for cfs throttle |
| |
On Mon, May 21, 2018 at 11:35 PM, Ivan Babrou <ibobrik@gmail.com> wrote: > > > On Mon, May 21, 2018 at 11:20 PM Cong Wang <xiyou.wangcong@gmail.com> wrote: >> >> + >> + TP_printk("path=%s cpu=%d runtime_remaining=%lld", >> __get_str(cfs_path), >> + __entry->cpu, __entry->runtime_remaining) > > > Can you add "[ns]" as the unit to runtime_remaining? We have it in > "sched:sched_stat_runtime".
Hmm, although it is indeed ns, this ->runtime_remaining can be negative, unlike sched_stat_runtime. So I am not sure if I should marked it as "[ns]".
| |