Divinglog import: add workload warning

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-07-12 23:16:56 +05:30 committed by Dirk Hohndel
parent 5bc4f974c5
commit 17bc868531

View file

@ -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;
}