gdbtrace: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ust.core.tests / src / org / eclipse / linuxtools / lttng2 / ust / core / tests / trace / callstack / LttngUstCallStackProviderTest.java
CommitLineData
6e4358bd 1/*******************************************************************************
50659279 2 * Copyright (c) 2013, 2014 Ericsson
6e4358bd
AM
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 * Contributors:
10 * Alexandre Montplaisir - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.lttng2.ust.core.tests.trace.callstack;
14
06004847
AM
15import static org.junit.Assume.assumeTrue;
16
91e7f946 17import org.eclipse.linuxtools.tmf.ctf.core.tests.shared.CtfTmfTestTrace;
06004847 18import org.junit.BeforeClass;
6e4358bd
AM
19
20/**
21 * Test suite for the UST callstack state provider, using the trace of a program
22 * instrumented with lttng-ust-cyg-profile.so tracepoints.
23 *
24 * @author Alexandre Montplaisir
25 */
50659279 26public class LttngUstCallStackProviderTest extends AbstractProviderTest {
6e4358bd 27
50659279
AM
28 private static final long[] timestamps = { 1378850463600000000L,
29 1378850463770000000L,
30 1378850463868753000L };
6e4358bd 31
06004847
AM
32 /**
33 * Class setup
34 */
35 @BeforeClass
36 public static void setUpClass() {
37 assumeTrue(CtfTmfTestTrace.CYG_PROFILE.exists());
38 }
39
50659279
AM
40 @Override
41 protected CtfTmfTestTrace getTestTrace() {
42 return CtfTmfTestTrace.CYG_PROFILE;
6e4358bd
AM
43 }
44
50659279
AM
45 @Override
46 protected String getProcName() {
47 return "glxgears-16073";
6e4358bd
AM
48 }
49
50659279
AM
50 @Override
51 protected long getTestTimestamp(int index) {
52 return timestamps[index];
6e4358bd
AM
53 }
54
6e4358bd 55}
This page took 0.0391 seconds and 5 git commands to generate.