QEMU_STRACE documentation bit by Thayne Harbaugh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3822 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									c6d29ad6e2
								
							
						
					
					
						commit
						b01bcae61c
					
				@ -1906,7 +1906,12 @@ void usage(void)
 | 
				
			|||||||
           "debug options:\n"
 | 
					           "debug options:\n"
 | 
				
			||||||
           "-d options   activate log (logfile=%s)\n"
 | 
					           "-d options   activate log (logfile=%s)\n"
 | 
				
			||||||
           "-p pagesize  set the host page size to 'pagesize'\n"
 | 
					           "-p pagesize  set the host page size to 'pagesize'\n"
 | 
				
			||||||
           "-strace      log system calls\n",
 | 
					           "-strace      log system calls\n"
 | 
				
			||||||
 | 
					           "\n"
 | 
				
			||||||
 | 
					           "environment variables:\n"
 | 
				
			||||||
 | 
					           "QEMU_STRACE       Print system calls and arguments similar to the\n"
 | 
				
			||||||
 | 
					           "                  'strace' program.  Enable by setting to any value.\n"
 | 
				
			||||||
 | 
					           ,
 | 
				
			||||||
           TARGET_ARCH,
 | 
					           TARGET_ARCH,
 | 
				
			||||||
           interp_prefix,
 | 
					           interp_prefix,
 | 
				
			||||||
           x86_stack_size,
 | 
					           x86_stack_size,
 | 
				
			||||||
 | 
				
			|||||||
@ -2507,6 +2507,17 @@ Activate log (logfile=/tmp/qemu.log)
 | 
				
			|||||||
Act as if the host page size was 'pagesize' bytes
 | 
					Act as if the host page size was 'pagesize' bytes
 | 
				
			||||||
@end table
 | 
					@end table
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Environment variables:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@table @env
 | 
				
			||||||
 | 
					@item QEMU_STRACE
 | 
				
			||||||
 | 
					Print system calls and arguments similar to the 'strace' program
 | 
				
			||||||
 | 
					(NOTE: the actual 'strace' program will not work because the user
 | 
				
			||||||
 | 
					space emulator hasn't implemented ptrace).  At the moment this is
 | 
				
			||||||
 | 
					incomplete.  All system calls that don't have a specific argument
 | 
				
			||||||
 | 
					format are printed with information for six arguments.  Many
 | 
				
			||||||
 | 
					flag-style arguments don't have decoders and will show up as numbers.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@node Other binaries
 | 
					@node Other binaries
 | 
				
			||||||
@subsection Other binaries
 | 
					@subsection Other binaries
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user