os.linux: Create PPID and SYSTEM_CALL attributes on demand
authorLoïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Fri, 9 Sep 2016 21:03:49 +0000 (17:03 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 22 Sep 2016 01:52:16 +0000 (21:52 -0400)
This patch ensures that threads' PPID and SYSTEM_CALL attributes
are only created when the state is changed instead of on a
sched_switch. The methods which require said attributes are adapted
to handle correctly the absence of said attributes.
This results in a state system with 0 - 40% less attributes, thus
reducing the legacy SHT's space on disk by the same size.

Change-Id: I1461824623912f8d2ea32bb2c97f0398b08f9aea
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/80849
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>

No differences found
This page took 0.025512 seconds and 5 git commands to generate.