mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 08:22:16 +01:00 
			
		
		
		
	Try to avoid casting variables to potentially smaller types to fit defined probes. This can truncate values and lead to wrong results. Also make sure that signedness matches. Since GType can be even 128 bit on CHERI architecture, cast all these various types used based on platform to uintmax_t which SystemTap properly processes.
		
			
				
	
	
		
			11 lines
		
	
	
		
			389 B
		
	
	
	
		
			D
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			389 B
		
	
	
	
		
			D
		
	
	
	
	
	
| provider gio {
 | |
| 	probe task__new(void*, void*, void*, void*, void*);
 | |
| 	probe task__set_task_data(void*, void*, void*);
 | |
| 	probe task__set_priority(void*, int);
 | |
| 	probe task__set_source_tag(void*, void*);
 | |
| 	probe task__before_return(void*, void*, void*, void*);
 | |
| 	probe task__propagate(void*, int);
 | |
| 	probe task__before_run_in_thread(void*, void*);
 | |
| 	probe task__after_run_in_thread(void*, int);
 | |
| };
 |