lttng.ust: Split the function name into its own aspect/column
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / event / lookup / ITmfCallsite.java
1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * 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 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.tmf.core.event.lookup;
14
15 import org.eclipse.jdt.annotation.NonNull;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19 * The generic call site structure in TMF. A call site has:
20 * <ul>
21 * <li> a file name
22 * <li> a function name (optional)
23 * <li> a line number
24 * </ul>
25 *
26 * @author Bernd Hufmann
27 *
28 * @see TmfCallsite
29 */
30 public interface ITmfCallsite {
31
32 /**
33 * Returns the file name of the call site.
34 *
35 * @return the file name
36 */
37 @NonNull String getFileName();
38
39 /**
40 * Returns the function name of the call site.
41 *
42 * @return the function name or null
43 */
44 @Nullable String getFunctionName();
45
46 /**
47 * Returns the line number of the call site.
48 *
49 * @return the line number
50 */
51 long getLineNumber();
52 }
This page took 0.032968 seconds and 5 git commands to generate.