Bug 4112

Summary: Implement stack tracing systemcalls for ftrace
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: enhancement CC: swagiaal
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2245    

Description Mike Cvet 2007-02-28 12:45:58 UTC
user specifies a set of syscalls for ftrace to generate stack traces for upon 
detection.
Comment 1 Mike Cvet 2007-02-28 12:54:40 UTC
Log message:
	frysk-core/frysk/bindir:
	2007-02-28  Mike Cvet  <mcvet@redhat.com>
	
	* ftrace.java (addOptions): Added new parsing option for syscall stack
	tracing. Fixes #4112.
	
	frysk-core/frysk/util:
	2007-02-28  Mike Cvet  <mcvet@redhat.com>
	
	* Ftrace.java (syscallStackTraceSet): Added. Set of requested syscalls 
for
	stack tracing.
	(setSyscallStackTracing): Added. Sets HashSet of system calls.
	(generateStacKTrace): Added. Dumps a stacktrace.
	(SyscallObserver.updateSyscallEnter): If the incoming system call is in 
the
	system call stack trace HashSet, dump a stack trace before continuing. 
Fixes
	#4112.