linux.core: internalize System Call Analysis
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.ui / src / org / eclipse / tracecompass / internal / analysis / os / linux / ui / views / latency / SystemCallDensityViewer.java
CommitLineData
b23cbbfc
MAL
1/******************************************************************************
2 * Copyright (c) 2015 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
9
10package org.eclipse.tracecompass.internal.analysis.os.linux.ui.views.latency;
11
12import org.eclipse.jdt.annotation.Nullable;
13import org.eclipse.swt.widgets.Composite;
0f769d2b 14import org.eclipse.tracecompass.analysis.timing.core.segmentstore.ISegmentStoreProvider;
b23cbbfc 15import org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.density.AbstractSegmentStoreDensityViewer;
660d4ed9 16import org.eclipse.tracecompass.internal.analysis.os.linux.core.latency.SystemCallLatencyAnalysis;
b23cbbfc
MAL
17import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
18import org.eclipse.tracecompass.tmf.core.trace.TmfTraceUtils;
19
20/**
21 * System Call density viewer
22 *
23 * @author Matthew Khouzam
24 * @author Marc-Andre Laperle
25 */
26public class SystemCallDensityViewer extends AbstractSegmentStoreDensityViewer {
27
28 /**
29 * Constructs a new density viewer.
30 *
31 * @param parent
32 * the parent of the viewer
33 */
34 public SystemCallDensityViewer(Composite parent) {
35 super(parent);
36 }
37
38 @Override
0f769d2b 39 protected @Nullable ISegmentStoreProvider getSegmentStoreProvider(ITmfTrace trace) {
b23cbbfc
MAL
40 return TmfTraceUtils.getAnalysisModuleOfClass(trace, SystemCallLatencyAnalysis.class, SystemCallLatencyAnalysis.ID);
41 }
42}
This page took 0.030295 seconds and 5 git commands to generate.