Extend sched_process_fork with scheduling fields sched_update_prio
authorJulien Desfossez <jdesfossez@efficios.com>
Mon, 19 Sep 2016 16:56:33 +0000 (12:56 -0400)
committerJulien Desfossez <jdesfossez@efficios.com>
Mon, 19 Sep 2016 16:56:33 +0000 (12:56 -0400)
commit7a703402518401778ffb37e44300ba24bb9de610
treed4c050697a706dd57b39f464c0dfc63f11f6b74c
parent7e67e3a1d6c8722639e5adf08f97c536c41c8a86
Extend sched_process_fork with scheduling fields

Add the scheduling policy informations of the newly created process:
- nice
- rt_priority,
- dl_runtime,
- dl_deadline,
- dl_period

Here is an example output:
sched_process_fork: { cpu_id = 4 }, { parent_comm = "bash", parent_tid =
17942, parent_pid = 17942, parent_ns_inum = 4026531836, child_comm =
"bash", child_tid = 10005, _vtids_length = 1, vtids = [ [0] = 10005 ],
child_pid = 10005, child_ns_inum = 4026531836, prio = 20, policy = (
"SCHED_NORMAL" : container = 0 ), nice = 0, rt_priority = 0, dl_runtime
= 0, dl_deadline = 0, dl_period = 0 }

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
instrumentation/events/lttng-module/sched.h
This page took 0.024284 seconds and 5 git commands to generate.