|
From: <sv...@va...> - 2014-03-10 19:40:54
|
Author: bart
Date: Mon Mar 10 19:40:45 2014
New Revision: 13864
Log:
coregrind/m_scheduler + drd: Rework r13862
Modified:
trunk/coregrind/m_scheduler/scheduler.c
trunk/drd/drd_main.c
Modified: trunk/coregrind/m_scheduler/scheduler.c
==============================================================================
--- trunk/coregrind/m_scheduler/scheduler.c (original)
+++ trunk/coregrind/m_scheduler/scheduler.c Mon Mar 10 19:40:45 2014
@@ -1011,7 +1011,6 @@
ip, True/*upd_fast_cache*/ );
if (UNLIKELY(!found)) {
/* Not found; we need to request a translation. */
- VG_TRACK( start_client_code, tid, bbs_done );
if (VG_(translate)( tid, ip, /*debug*/False, 0/*not verbose*/,
bbs_done, True/*allow redirection*/ )) {
found = VG_(search_transtab)( NULL, NULL, NULL,
@@ -1025,7 +1024,6 @@
// or the thread has been marked for termination. Either
// way, we just need to go back into the scheduler loop.
}
- VG_TRACK( stop_client_code, tid, bbs_done );
}
}
Modified: trunk/drd/drd_main.c
==============================================================================
--- trunk/drd/drd_main.c (original)
+++ trunk/drd/drd_main.c Mon Mar 10 19:40:45 2014
@@ -276,6 +276,7 @@
const Addr a,
const SizeT size)
{
+ DRD_(thread_set_vg_running_tid)(VG_(get_running_tid)());
if (size > 0)
{
DRD_(trace_load)(a, size);
|