gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros
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. More...
 

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,...)
Definition: trace.hh:230

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 61 of file syscall_debug_macros.hh.

Referenced by brkFunc(), cloneFunc(), SyscallDesc::doSyscall(), fstatFunc(), ioctlFunc(), mmapFunc(), openatFunc(), and wait4Func().


Generated on Fri Feb 28 2020 16:27:06 for gem5 by doxygen 1.8.13