Skip to content

Changes

Summary

  1. linux.core: Generalize ResourcesStatusDataProvider (details)
Commit b26495e1876ad53797b5fd9c5c92819d39526bf0 by Matthew Khouzam
linux.core: Generalize ResourcesStatusDataProvider

The original ResourcesStatusDataProvider was parameterized to require
a KernelAnalysisModule. Now ResourcesStatusDataProvider is requires a
TmfStateSystemAnalysisModule, making it available for other analysis
modules such as DataDrivenAnalysisModule. The expected information
can then be provided by other analysis module with state systems
in the same structure.

Note: this class is internal and thus would need a factory to take
advantage of the increased modularity.

[Changed] ResourceStatusDataProvider depends on TmfStateSystemAnalysisModule

Signed-off-by: Siwei Zhang <manbearpig10086@gmail.com>
Change-Id: I45030de7319bfab4092e49cf10a92309b3bf0724
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/201928
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.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.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/resourcesstatus/ResourcesStatusDataProvider.java