1 /******************************************************************************
2 * Copyright (c) 2015 Ericsson
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 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.internal
.analysis
.os
.linux
.ui
.views
.latency
;
12 import org
.eclipse
.jdt
.annotation
.Nullable
;
13 import org
.eclipse
.swt
.widgets
.Composite
;
14 import org
.eclipse
.tracecompass
.analysis
.os
.linux
.core
.latency
.SystemCallLatencyAnalysis
;
15 import org
.eclipse
.tracecompass
.analysis
.timing
.core
.segmentstore
.ISegmentStoreProvider
;
16 import org
.eclipse
.tracecompass
.analysis
.timing
.ui
.views
.segmentstore
.density
.AbstractSegmentStoreDensityViewer
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
18 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.TmfTraceUtils
;
21 * System Call density viewer
23 * @author Matthew Khouzam
24 * @author Marc-Andre Laperle
26 public class SystemCallDensityViewer
extends AbstractSegmentStoreDensityViewer
{
29 * Constructs a new density viewer.
32 * the parent of the viewer
34 public SystemCallDensityViewer(Composite parent
) {
39 protected @Nullable ISegmentStoreProvider
getSegmentStoreProvider(ITmfTrace trace
) {
40 return TmfTraceUtils
.getAnalysisModuleOfClass(trace
, SystemCallLatencyAnalysis
.class, SystemCallLatencyAnalysis
.ID
);