correct probe in Monitor::Enter in bada_sync.cpp
authorAnastasia Lyupa <a.lyupa@samsung.com>
Tue, 25 Jun 2013 11:24:01 +0000 (15:24 +0400)
committerAnastasia Lyupa <a.lyupa@samsung.com>
Tue, 25 Jun 2013 11:24:01 +0000 (15:24 +0400)
probe_badaapi/bada_sync.cpp

index 7a88251..a55cb1e 100755 (executable)
@@ -990,8 +990,8 @@ result Monitor::Enter(void) {
 
                PREPARE_LOCAL_BUF();
                PACK_COMMON_BEGIN(MSG_PROBE_SYNC, LC_SYNC, "", 0);
-               PACK_COMMON_END(ret, ret, blockresult);
-               PACK_THREAD((unsigned int) this, SYNC_OSP_MUTEX, SYNC_API_NEW);
+               PACK_COMMON_END(0, 0, blockresult);
+               PACK_THREAD((unsigned int) this, SYNC_OSP_MONITOR, SYNC_API_ACQUIRE_WAIT_START);
                FLUSH_LOCAL_BUF();
 
                preBlockEnd();