mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	overlay: Enable locale
Enabling locale allows us to use thousand separators and other such human touches in the output. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
		
							parent
							
								
									453792c501
								
							
						
					
					
						commit
						44d444acaa
					
				@ -35,6 +35,7 @@
 | 
			
		||||
#include <signal.h>
 | 
			
		||||
#include <getopt.h>
 | 
			
		||||
#include <time.h>
 | 
			
		||||
#include <locale.h>
 | 
			
		||||
 | 
			
		||||
#include "overlay.h"
 | 
			
		||||
#include "chart.h"
 | 
			
		||||
@ -857,6 +858,7 @@ int main(int argc, char **argv)
 | 
			
		||||
	int daemonize = 1, renice = 0;
 | 
			
		||||
	int i;
 | 
			
		||||
 | 
			
		||||
	setlocale(LC_ALL, "");
 | 
			
		||||
	config_init(&config);
 | 
			
		||||
 | 
			
		||||
	opterr = 0;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user