Commit | Line | Data |
---|---|---|
6e4358bd | 1 | /******************************************************************************* |
60ae41e1 | 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-fast.so tracepoints. These do not | |
20 | * contain the function addresses in the func_exit events. | |
21 | * | |
22 | * @author Alexandre Montplaisir | |
23 | */ | |
50659279 | 24 | public class LttngUstCallStackProviderFastTest extends AbstractProviderTest { |
6e4358bd | 25 | |
50659279 AM |
26 | private static final long[] timestamps = { 1379361250310000000L, |
27 | 1379361250498400000L, | |
28 | 1379361250499759000L }; | |
6e4358bd | 29 | |
50659279 AM |
30 | @Override |
31 | protected CtfTmfTestTrace getTestTrace() { | |
32 | return CtfTmfTestTrace.CYG_PROFILE_FAST; | |
6e4358bd AM |
33 | } |
34 | ||
50659279 AM |
35 | @Override |
36 | protected String getProcName() { | |
37 | return "glxgears-29822"; | |
6e4358bd AM |
38 | } |
39 | ||
50659279 AM |
40 | @Override |
41 | protected long getTestTimestamp(int index) { | |
42 | return timestamps[index]; | |
6e4358bd AM |
43 | } |
44 | ||
50659279 | 45 | } |