e8dc90c3f5ef1a9096e6f73314347a9bdbeb5b65
[deliverable/tracecompass.git] / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / event / scope / PacketHeaderScope.java
1 /*******************************************************************************
2 * Copyright (c) 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 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.ctf.core.event.scope;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18 * A lttng specific speedup node (the packet header with magic, uuid and stream
19 * id ) of a lexical scope the sole reason to have this is to accelerate tostring()
20 *
21 * @author Matthew Khouzam
22 */
23 @NonNullByDefault
24 public class PacketHeaderScope extends LexicalScope {
25
26 /**
27 * Constructor
28 */
29 public PacketHeaderScope() {
30 super(PACKET, "header"); //$NON-NLS-1$
31 }
32
33 @Override
34 public String getPath() {
35 return "packet.header"; //$NON-NLS-1$
36 }
37
38 }
This page took 0.034796 seconds and 4 git commands to generate.