-
Notifications
You must be signed in to change notification settings - Fork 9
/
IEventCallStackProvider.java
38 lines (32 loc) · 1.25 KB
/
IEventCallStackProvider.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*******************************************************************************
* Copyright (c) 2017 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.tracecompass.incubator.callstack.core.flamechart;
import java.util.Collection;
import java.util.Map;
import org.eclipse.tracecompass.tmf.core.event.ITmfEvent;
/**
* An interface that analyses can implement if they can provide a stack of
* called function for a single event.
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface IEventCallStackProvider {
/**
* Get the callstack from an event
*
* @param event
* The event for which to get the stack
* @return The callstack for the event, grouped by some domain, where the
* first element of each collection is the root.
*/
Map<String, Collection<Object>> getCallStack(ITmfEvent event);
}