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.
This commit is contained in:
		
							parent
							
								
									2c111fd98c
								
							
						
					
					
						commit
						db57136f1b
					
				| @ -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"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user