1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson, École Polytechnique de Montréal
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
10 * Matthew Khouzam, Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.internal
.lttng2
.ust
.core
.memoryusage
;
16 * Strings for the memory usage state system using the LTTng UST libc
19 * @author Matthew Khouzam
20 * @author Geneviève Bastien
22 @SuppressWarnings({ "nls", "javadoc" })
23 public interface UstMemoryStrings
{
25 /** Memory state system attribute name */
26 static final String UST_MEMORY_MEMORY_ATTRIBUTE
= "Memory"; //$NON-NLS-1$
27 /** Procname state system attribute name */
28 static final String UST_MEMORY_PROCNAME_ATTRIBUTE
= "Procname"; //$NON-NLS-1$
29 /** Name of the attribute to store memory usage of events with no context */
30 static final String OTHERS
= "Others";
32 /* UST_libc event names */
33 static final String MALLOC
= "ust_libc:malloc";
34 static final String CALLOC
= "ust_libc:calloc";
35 static final String REALLOC
= "ust_libc:realloc";
36 static final String FREE
= "ust_libc:free";
37 static final String MEMALIGN
= "ust_libc:memalign";
38 static final String POSIX_MEMALIGN
= "ust_libc:posix_memalign";
40 /* Possible contexts */
41 static final String CONTEXT_VTID
= "context._vtid";
42 static final String CONTEXT_PROCNAME
= "context._procname";
45 static final String FIELD_PTR
= "ptr";
46 static final String FIELD_NMEMB
= "nmemb";
47 static final String FIELD_SIZE
= "size";
48 static final String FIELD_OUTPTR
= "out_ptr";
49 static final String FIELD_INPTR
= "in_ptr";