Mercurial > hg > truffle
annotate src/share/vm/trace/traceEventIds.xsl @ 21231:0bb06deee33b
Check for null in LabelOp#setIncomingValues and JumpOp#setOutgoingValues.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Tue, 05 May 2015 12:12:33 +0200 |
parents | 82d3e7b5277a |
children |
rev | line source |
---|---|
10405 | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- | |
3 Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. | |
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
5 | |
6 This code is free software; you can redistribute it and/or modify it | |
7 under the terms of the GNU General Public License version 2 only, as | |
8 published by the Free Software Foundation. | |
9 | |
10 This code is distributed in the hope that it will be useful, but WITHOUT | |
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 version 2 for more details (a copy is included in the LICENSE file that | |
14 accompanied this code). | |
15 | |
16 You should have received a copy of the GNU General Public License version | |
17 2 along with this work; if not, write to the Free Software Foundation, | |
18 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
19 | |
20 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | |
21 or visit www.oracle.com if you need additional information or have any | |
22 questions. | |
23 --> | |
24 | |
25 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
12933
042cf42c72bd
8026703: Wrongly placed <xsl:import> element in Event-Based JVM Tracing .xsl files
simonis
parents:
10405
diff
changeset
|
26 <xsl:import href="xsl_util.xsl"/> |
10405 | 27 <xsl:output method="text" indent="no" omit-xml-declaration="yes"/> |
28 | |
29 <xsl:template match="/"> | |
30 <xsl:call-template name="file-header"/> | |
31 | |
20653
82d3e7b5277a
8065361: Fixup headers and definitions for INCLUDE_TRACE
mgronlun
parents:
12933
diff
changeset
|
32 #ifndef TRACEFILES_TRACEEVENTIDS_HPP |
82d3e7b5277a
8065361: Fixup headers and definitions for INCLUDE_TRACE
mgronlun
parents:
12933
diff
changeset
|
33 #define TRACEFILES_TRACEEVENTIDS_HPP |
10405 | 34 |
35 #include "utilities/macros.hpp" | |
36 #if INCLUDE_TRACE | |
37 #include "trace/traceDataTypes.hpp" | |
38 | |
39 /** | |
40 * Enum of the event types in the JVM | |
41 */ | |
42 enum TraceEventId { | |
43 _traceeventbase = (NUM_RESERVED_EVENTS-1), // Make sure we start at right index. | |
44 | |
45 // Events -> enum entry | |
46 <xsl:for-each select="trace/events/event"> | |
47 <xsl:value-of select="concat(' Trace', @id, 'Event,', $newline)"/> | |
48 </xsl:for-each> | |
49 MaxTraceEventId | |
50 }; | |
51 | |
52 /** | |
53 * Struct types in the JVM | |
54 */ | |
55 enum TraceStructId { | |
56 <xsl:for-each select="trace/types/content_types/*"> | |
57 <xsl:value-of select="concat(' Trace', @id, 'Struct,', $newline)"/> | |
58 </xsl:for-each> | |
59 <xsl:for-each select="trace/events/*"> | |
60 <xsl:value-of select="concat(' Trace', @id, 'Struct,', $newline)"/> | |
61 </xsl:for-each> | |
62 MaxTraceStructId | |
63 }; | |
64 | |
65 typedef enum TraceEventId TraceEventId; | |
66 typedef enum TraceStructId TraceStructId; | |
67 | |
20653
82d3e7b5277a
8065361: Fixup headers and definitions for INCLUDE_TRACE
mgronlun
parents:
12933
diff
changeset
|
68 #endif // INCLUDE_TRACE |
82d3e7b5277a
8065361: Fixup headers and definitions for INCLUDE_TRACE
mgronlun
parents:
12933
diff
changeset
|
69 #endif // TRACEFILES_TRACEEVENTIDS_HPP |
10405 | 70 </xsl:template> |
71 | |
72 </xsl:stylesheet> |