Bug 4112 - Implement stack tracing systemcalls for ftrace
Summary: Implement stack tracing systemcalls for ftrace
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 2245
  Show dependency treegraph
 
Reported: 2007-02-28 12:45 UTC by Mike Cvet
Modified: 2007-02-28 12:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.