summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index c110481d7..37f08ccec 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2909,6 +2909,14 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu
strcpy(cur_event.name, "violation");
event_end();
}
+
+ /* Workload warning */
+ if (ptr[9] - '0') {
+ event_start();
+ cur_event.time.seconds = sinterval * i;
+ strcpy(cur_event.name, "workload");
+ event_end();
+ }
ptr += 12;
}