Commit | Line | Data |
---|---|---|
7443de72 AM |
1 | /******************************************************************************* |
2 | * Copyright (c) 2015 EfficiOS Inc., Alexandre Montplaisir | |
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 | ||
10 | package org.eclipse.tracecompass.lttng2.ust.core.trace.layout; | |
11 | ||
12 | /** | |
13 | * This interface defines concepts exposed by liblttng-ust libraries and traces. | |
14 | * Actual implementations can differ between different versions of the tracer. | |
15 | * | |
16 | * @author Alexandre Montplaisir | |
17 | * @since 2.0 | |
18 | */ | |
19 | @SuppressWarnings("javadoc") | |
20 | public interface ILttngUstEventLayout { | |
21 | ||
22 | // ------------------------------------------------------------------------ | |
23 | // Event names used in liblttng-ust-libc-wrapper | |
24 | // ------------------------------------------------------------------------ | |
25 | ||
26 | String eventLibcMalloc(); | |
27 | String eventLibcCalloc(); | |
28 | String eventLibcRealloc(); | |
29 | String eventLibcFree(); | |
30 | String eventLibcMemalign(); | |
31 | String eventLibcPosixMemalign(); | |
32 | ||
c469808d AM |
33 | // ------------------------------------------------------------------------ |
34 | // Event names used in liblttng-ust-cyg-profile(-fast) | |
35 | // ------------------------------------------------------------------------ | |
36 | ||
37 | String eventCygProfileFuncEntry(); | |
38 | String eventCygProfileFastFuncEntry(); | |
39 | String eventCygProfileFuncExit(); | |
40 | String eventCygProfileFastFuncExit(); | |
41 | ||
7443de72 AM |
42 | // ------------------------------------------------------------------------ |
43 | // Field names | |
44 | // ------------------------------------------------------------------------ | |
45 | ||
46 | String fieldPtr(); | |
47 | String fieldNmemb(); | |
48 | String fieldSize(); | |
49 | String fieldOutPtr(); | |
50 | String fieldInPtr(); | |
51 | ||
c469808d AM |
52 | String fieldAddr(); |
53 | ||
7443de72 AM |
54 | // ------------------------------------------------------------------------ |
55 | // Context field names | |
56 | // ------------------------------------------------------------------------ | |
57 | ||
58 | String contextVtid(); | |
59 | String contextProcname(); | |
60 | } |