doc -> docs (pypi)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								a221e6a233
							
						
					
				
			
			
				commit
				
					
						6d1e4d06cf
					
				
			
		
					 133 changed files with 12 additions and 12 deletions
				
			
		
							
								
								
									
										23
									
								
								docs/dev/benchmark-oprofile
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										23
									
								
								docs/dev/benchmark-oprofile
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,23 @@
 | 
			
		|||
#!/bin/sh -x
 | 
			
		||||
 | 
			
		||||
# Cleanup
 | 
			
		||||
opcontrol --no-vmlinux
 | 
			
		||||
opcontrol --stop
 | 
			
		||||
opcontrol --shutdown
 | 
			
		||||
opcontrol --reset
 | 
			
		||||
 | 
			
		||||
# Record all calls
 | 
			
		||||
opcontrol --separate=none
 | 
			
		||||
 | 
			
		||||
# NMI conflicts with oprofile
 | 
			
		||||
echo 0 > /proc/sys/kernel/nmi_watchdog
 | 
			
		||||
 | 
			
		||||
# Select events to be recorded
 | 
			
		||||
opcontrol --event=CPU_CLK_UNHALTED:30000:0:1:1
 | 
			
		||||
 | 
			
		||||
opcontrol --start
 | 
			
		||||
# The actual programm
 | 
			
		||||
"$@"
 | 
			
		||||
opcontrol --stop
 | 
			
		||||
opcontrol --dump
 | 
			
		||||
echo "Output: opreport -l"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue