Commit | Line | Data |
---|---|---|
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 | ||
13 | package org.eclipse.linuxtools.lttng2.ust.core.tests.trace.callstack; | |
14 | ||
6e4358bd | 15 | import org.eclipse.linuxtools.tmf.core.tests.shared.CtfTmfTestTrace; |
6e4358bd AM |
16 | |
17 | /** | |
18 | * Test suite for the UST callstack state provider, using the trace of a program | |
19 | * instrumented with lttng-ust-cyg-profile.so tracepoints. | |
20 | * | |
21 | * @author Alexandre Montplaisir | |
22 | */ | |
50659279 | 23 | public class LttngUstCallStackProviderTest extends AbstractProviderTest { |
6e4358bd | 24 | |
50659279 AM |
25 | private static final long[] timestamps = { 1378850463600000000L, |
26 | 1378850463770000000L, | |
27 | 1378850463868753000L }; | |
6e4358bd | 28 | |
50659279 AM |
29 | @Override |
30 | protected CtfTmfTestTrace getTestTrace() { | |
31 | return CtfTmfTestTrace.CYG_PROFILE; | |
6e4358bd AM |
32 | } |
33 | ||
50659279 AM |
34 | @Override |
35 | protected String getProcName() { | |
36 | return "glxgears-16073"; | |
6e4358bd AM |
37 | } |
38 | ||
50659279 AM |
39 | @Override |
40 | protected long getTestTimestamp(int index) { | |
41 | return timestamps[index]; | |
6e4358bd AM |
42 | } |
43 | ||
6e4358bd | 44 | } |