From db57136f1b062350027c5739d8c4bb023cb5260e Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 17 Jun 2024 13:49:24 +0200 Subject: [PATCH] Allow the value zero in marks When using the mark API to track a counter, it is posible that the value zero is being emitted as it will be properly displayed using the gradient view in Paraver. --- src/emu/ovni/mark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/ovni/mark.c b/src/emu/ovni/mark.c index 89d6c68..fb12f6b 100644 --- a/src/emu/ovni/mark.c +++ b/src/emu/ovni/mark.c @@ -357,7 +357,7 @@ connect_thread_prv(struct emu *emu, struct thread *sth, struct prv *prv) long i = type->index; struct chan *ch = &mth->channels[i]; long row = sth->gindex; - long flags = 0; + long flags = PRV_ZERO; /* Allow zero value */ long prvtype = type->prvtype; if (prv_register(prv, row, prvtype, &emu->bay, ch, flags)) { err("prv_register failed");