gem5 v24.0.0.0
Loading...
Searching...
No Matches
syscall_debug_macros.hh File Reference
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "debug/SyscallBase.hh"
#include "debug/SyscallVerbose.hh"

Go to the source code of this file.

Macros

#define DPRINTF_SYSCALL(FLAGEXT, FMT, ...)
 This macro is intended to help with readability.
 

Macro Definition Documentation

◆ DPRINTF_SYSCALL

#define DPRINTF_SYSCALL ( FLAGEXT,
FMT,
... )
Value:
DPRINTFS(Syscall##FLAGEXT, tc->getCpuPtr(), "T%d : syscall " FMT, \
tc->threadId(), __VA_ARGS__)
#define DPRINTFS(x, s,...)
Definition trace.hh:217

This macro is intended to help with readability.

FLAGEXT specifies to which flag to assign the message: SyscallBase, SyscallVerbose, etc..; notice that 'Syscall' is already prepended. FMT is the message to be appended to the header information. The header information contains the cpuid and thread id.

Definition at line 57 of file syscall_debug_macros.hh.

Referenced by gem5::brkFunc(), gem5::doClone(), gem5::SyscallDesc::doSyscall(), gem5::fstatFunc(), gem5::SyscallDesc::handleReturn(), gem5::ioctlFunc(), gem5::mmapFunc(), gem5::openatFunc(), gem5::SyscallDesc::retrySyscall(), and gem5::wait4Func().


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0