linux.core: Introduce TID analysis
This analysis calculates a subset of what the kernel
state system has: which tid is running on which cpu.
This will allow these aspects to be available much faster
during state construction and in the reading after.
The new state system is typically 1% of the size of the kernel
state system. Therefore the seeks, even though they are log(n)
will accelerate. As getTid is something MANY analyses do often
this patch should improve performance accross the board.
In one corner case example, (System call analysis), where each state
required a TID, performance passed from 3000 to 140000 events per seconds.
On average, searches on the TID column should reduce in time by 5-10%
depending on the trace configuration (how many contexts etc...).
Change-Id: Icf7921c49232481129b9c021170556c9d06d5ca4
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/68878
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
This page took 0.026112 seconds and 5 git commands to generate.