In preparation for switching linuxulator to the use the native 1:1
threads print the thread id in addition to the pid in debug messages.
This commit is contained in:
parent
9bdea08264
commit
adb3a300b3
@ -40,8 +40,10 @@
|
||||
*/
|
||||
extern u_char linux_debug_map[];
|
||||
#define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name)
|
||||
#define ARGS(nm, fmt) "linux(%ld): "#nm"("fmt")\n", (long)td->td_proc->p_pid
|
||||
#define LMSG(fmt) "linux(%ld): "fmt"\n", (long)td->td_proc->p_pid
|
||||
#define ARGS(nm, fmt) "linux(%ld/%ld): "#nm"("fmt")\n", \
|
||||
(long)td->td_proc->p_pid, (long)td->td_tid
|
||||
#define LMSG(fmt) "linux(%ld/%ld): "fmt"\n", \
|
||||
(long)td->td_proc->p_pid, (long)td->td_tid
|
||||
#define LINUX_DTRACE linuxulator32
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
|
@ -40,8 +40,10 @@
|
||||
*/
|
||||
extern u_char linux_debug_map[];
|
||||
#define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name)
|
||||
#define ARGS(nm, fmt) "linux(%ld): "#nm"("fmt")\n", (long)td->td_proc->p_pid
|
||||
#define LMSG(fmt) "linux(%ld): "fmt"\n", (long)td->td_proc->p_pid
|
||||
#define ARGS(nm, fmt) "linux(%ld/%ld): "#nm"("fmt")\n", \
|
||||
(long)td->td_proc->p_pid, (long)td->td_tid
|
||||
#define LMSG(fmt) "linux(%ld/%ld): "fmt"\n", \
|
||||
(long)td->td_proc->p_pid, (long)td->td_tid
|
||||
#define LINUX_DTRACE linuxulator
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
|
Loading…
Reference in New Issue
Block a user