aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-01-16 19:01:31 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-01-16 19:01:31 +0100
commitadad7834b5b682e830e30a35877004b94c92e464 (patch)
treec81cf3ff8777f365e1cd1c1879d9bca221e40245 /erts/emulator
parent5132d3f1b3b66c5d55b2b8753af9e7701049364f (diff)
downloadotp-adad7834b5b682e830e30a35877004b94c92e464.tar.gz
otp-adad7834b5b682e830e30a35877004b94c92e464.tar.bz2
otp-adad7834b5b682e830e30a35877004b94c92e464.zip
erts: Do not profile profiler pid (smp)
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c
index b487dbf054..ba70f068f0 100644
--- a/erts/emulator/beam/erl_trace.c
+++ b/erts/emulator/beam/erl_trace.c
@@ -2923,7 +2923,7 @@ profile_runnable_port(Port *p, Eterm status) {
UnUseTmpHeapNoproc(LOCAL_HEAP_SIZE);
#undef LOCAL_HEAP_SIZE
#else
- enqueue_sys_msg_unlocked(SYS_MSG_TYPE_SYSPROF, NIL, NIL, msg, bp);
+ enqueue_sys_msg_unlocked(SYS_MSG_TYPE_SYSPROF, p->id, NIL, msg, bp);
#endif
erts_smp_mtx_unlock(&smq_mtx);
}
@@ -2976,7 +2976,7 @@ profile_runnable_proc(Process *p, Eterm status){
UnUseTmpHeapNoproc(LOCAL_HEAP_SIZE);
#undef LOCAL_HEAP_SIZE
#else
- enqueue_sys_msg_unlocked(SYS_MSG_TYPE_SYSPROF, NIL, NIL, msg, bp);
+ enqueue_sys_msg_unlocked(SYS_MSG_TYPE_SYSPROF, p->id, NIL, msg, bp);
#endif
erts_smp_mtx_unlock(&smq_mtx);
}