projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tmf: Add support for custom event type by text line or XML element
[deliverable/tracecompass.git]
/
tmf
/
org.eclipse.tracecompass.tmf.core
/
src
/
org
/
eclipse
/
tracecompass
/
tmf
/
core
/
parsers
/
custom
/
CustomTxtEvent.java
diff --git
a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtEvent.java
b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtEvent.java
index 02f3954c3d78b132ffe814b88273c6a36b705e2a..d555f2028894a4d532a4a0f3258a18659d527aa3 100644
(file)
--- a/
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtEvent.java
+++ b/
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtEvent.java
@@
-83,6
+83,9
@@
public class CustomTxtEvent extends CustomEvent {
* The regex matcher to use
*/
public void processGroups(InputLine input, Matcher matcher) {
+ if (input.eventType != null) {
+ fData.put(CustomTraceDefinition.TAG_EVENT_TYPE, input.eventType);
+ }
if (input.columns == null) {
return;
}
This page took
0.024485 seconds
and
5
git commands to generate.