Skip to content

Changes

Summary

  1. callstack.core: Add kernel thread statuses to tests (details)
Commit 5ea491c72293cd5b253f59214f6537c6b787fcfc by Matthew Khouzam
callstack.core: Add kernel thread statuses to tests

[Added] KernelAnalysisStub to add kernel thread statuses to tests
[Added] getStatusIntervalsForThreads to KernelThreadInformationProvider

To add these tests, a stub of the kernel analysis has been added and the
FlameChartDP has been modified to depend on the HostModel and not query
directly from the ThreadStatusDP.

To make the changes to the FlameChartDP, the CompositeHostModel has been
modified to query the thread statuses from multiple threads in one
query.

Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
Change-Id: I1ae1b729b0c29c267915e4cb2110d838547cae9f
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/202595
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgTreeSelection
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgTreeFull
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/src/org/eclipse/tracecompass/analysis/callstack/core/tests/FlameChartDataProviderTest.java
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowProcessAll
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core/src/org/eclipse/tracecompass/internal/analysis/callstack/core/model/ProcessStatusInterval.java
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowOneZoom
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowProcess2Times
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgTreeProcess
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowSelectionAll
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core/src/org/eclipse/tracecompass/internal/analysis/callstack/core/flamegraph/FlameGraphDataProvider.java
The file was addedanalysis/org.eclipse.tracecompass.analysis.callstack.core.tests/stubs/org/eclipse/tracecompass/analysis/callstack/core/tests/stubs/KernelAnalysisModuleStub.java
The file was modified analysis/org.eclipse.tracecompass.analysis.os.linux.core/META-INF/MANIFEST.MF
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowOne2Times
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/plugin.xml
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowFull2Times
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core/src/org/eclipse/tracecompass/internal/analysis/callstack/core/model/CompositeHostModel.java
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/src/org/eclipse/tracecompass/analysis/callstack/core/tests/callgraph/FlameGraphDataProviderTest.java
The file was modified analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/kernel/KernelThreadInformationProvider.java
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgTreeOne
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowFullAll
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowSelectionZoom
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowOneAll
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core/src/org/eclipse/tracecompass/internal/analysis/callstack/core/callgraph/CallGraphAnalysis.java
The file was addedanalysis/org.eclipse.tracecompass.analysis.callstack.core.tests/stubs/org/eclipse/tracecompass/analysis/callstack/core/tests/stubs/KernelStateProviderStub.java
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowFullZoom
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowSelection2Times
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core/src/org/eclipse/tracecompass/internal/analysis/callstack/core/base/FlameWithKernelPalette.java
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/testfiles/dp/expectedFgRowProcessZoom
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core.tests/src/org/eclipse/tracecompass/analysis/callstack/core/tests/CallStackTestBase.java
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core/src/org/eclipse/tracecompass/internal/analysis/callstack/core/model/IHostModel.java
The file was modified analysis/org.eclipse.tracecompass.analysis.callstack.core/src/org/eclipse/tracecompass/internal/analysis/callstack/core/instrumented/FlameChartDataProvider.java