diff options
author | Alexandru Dutu <alexandru.dutu@amd.com> | 2016-03-17 10:22:39 -0700 |
---|---|---|
committer | Alexandru Dutu <alexandru.dutu@amd.com> | 2016-03-17 10:22:39 -0700 |
commit | 75d691060742d59894c147ad1abde4c6c9803346 (patch) | |
tree | dcf808270f9d4b3c4f95bb469a4cf2991230f421 /src/sim/SConscript | |
parent | c05fa167295864d50d460f0d92dbe0aa91a4f220 (diff) | |
download | gem5-75d691060742d59894c147ad1abde4c6c9803346.tar.xz |
syscall_emul: add extra debug support for syscalls
Breaks the debug output from system calls into two levels: Base and Verbose.
A macro is added specifically for system calls which allows developers to
easily add new debug messages in a consistent manner. The macro also contains
a field to print thread IDs along with the CPU ID.
Diffstat (limited to 'src/sim/SConscript')
-rw-r--r-- | src/sim/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sim/SConscript b/src/sim/SConscript index 93fc30fbc..94d0560ca 100644 --- a/src/sim/SConscript +++ b/src/sim/SConscript @@ -91,6 +91,7 @@ DebugFlag('Interrupt') DebugFlag('Loader') DebugFlag('PseudoInst') DebugFlag('Stack') +DebugFlag('SyscallBase') DebugFlag('SyscallVerbose') DebugFlag('TimeSync') DebugFlag('Thread') @@ -100,3 +101,5 @@ DebugFlag('WorkItems') DebugFlag('ClockDomain') DebugFlag('VoltageDomain') DebugFlag('DVFS') + +CompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose']) |