|
From: <sv...@va...> - 2007-02-16 13:12:46
|
Author: weidendo
Date: 2007-02-16 13:12:43 +0000 (Fri, 16 Feb 2007)
New Revision: 6593
Log:
callgrind: fix --collect-systime=yes with "no instrumentation" mode
(see bug 139363)
Modified:
trunk/callgrind/main.c
Modified: trunk/callgrind/main.c
===================================================================
--- trunk/callgrind/main.c 2007-02-16 11:57:18 UTC (rev 6592)
+++ trunk/callgrind/main.c 2007-02-16 13:12:43 UTC (rev 6593)
@@ -883,7 +883,8 @@
static
void CLG_(post_syscalltime)(ThreadId tid, UInt syscallno, SysRes res)
{
- if (CLG_(clo).collect_systime) {
+ if (CLG_(clo).collect_systime &&
+ CLG_(current_state).bbcc) {
Int o = CLG_(sets).off_full_systime;
#if CLG_MICROSYSTIME
struct vki_timeval tv_now;
|