1 /*******************************************************************************
2 * Copyright (c) 2015 EfficiOS Inc., Alexandre Montplaisir
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 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.internal
.lttng2
.ust
.core
.trace
.layout
;
13 * Updated event definitions for LTTng-UST 2.7.
15 * @author Alexandre Montplaisir
17 @SuppressWarnings("nls")
18 public class LttngUst27EventLayout
extends LttngUst20EventLayout
{
23 protected LttngUst27EventLayout() {}
25 private static final LttngUst27EventLayout INSTANCE
= new LttngUst27EventLayout();
28 * Get a singleton instance.
30 * @return The instance
32 public static LttngUst27EventLayout
getInstance() {
36 // ------------------------------------------------------------------------
37 // Event names used in liblttng-ust-libc-wrapper
38 // They are now prefixed with "lttng_*"
39 // ------------------------------------------------------------------------
42 public String
eventLibcMalloc() {
43 return "lttng_ust_libc:malloc";
47 public String
eventLibcCalloc() {
48 return "lttng_ust_libc:calloc";
52 public String
eventLibcRealloc() {
53 return "lttng_ust_libc:realloc";
57 public String
eventLibcFree() {
58 return "lttng_ust_libc:free";
62 public String
eventLibcMemalign() {
63 return "lttng_ust_libc:memalign";
67 public String
eventLibcPosixMemalign() {
68 return "lttng_ust_libc:posix_memalign";