 e61a639a79
			
		
	
	
	e61a639a79
	
	
	
		
			
			A small fix for the syscall counts script: - silence the match output in the shell script Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> LKML-Reference: <1273466820-9330-10-git-send-email-tzanussi@gmail.com> Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			242 B
			
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			242 B
			
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash
 | |
| # description: system-wide syscall counts
 | |
| # args: [comm]
 | |
| if [ $# -gt 0 ] ; then
 | |
|     if ! expr match "$1" "-" > /dev/null ; then
 | |
| 	comm=$1
 | |
| 	shift
 | |
|     fi
 | |
| fi
 | |
| perf trace $@ -s ~/libexec/perf-core/scripts/python/syscall-counts.py $comm
 |