projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump release version to 1.5
[lttv.git]
/
lttv
/
modules
/
text
/
sync_chain_batch.c
diff --git
a/lttv/modules/text/sync_chain_batch.c
b/lttv/modules/text/sync_chain_batch.c
index 31fde5ecff608afbaeaabfb5d769e1a1041086eb..97e77af8d0a80fdd997e64a5f04a0a724af118b4 100644
(file)
--- a/
lttv/modules/text/sync_chain_batch.c
+++ b/
lttv/modules/text/sync_chain_batch.c
@@
-341,7
+341,6
@@
void teardownSyncChain(LttvTracesetContext* const traceSetContext)
SyncState* syncState;
struct timeval endTime;
struct rusage endUsage;
SyncState* syncState;
struct timeval endTime;
struct rusage endUsage;
- int retval;
tracesetChainState= g_hash_table_lookup(tracesetChainStates, traceSetContext);
syncState= tracesetChainState->syncState;
tracesetChainState= g_hash_table_lookup(tracesetChainStates, traceSetContext);
syncState= tracesetChainState->syncState;
@@
-356,7
+355,7
@@
void teardownSyncChain(LttvTracesetContext* const traceSetContext)
if (fclose(syncState->graphsStream) != 0)
{
if (fclose(syncState->graphsStream) != 0)
{
- g_error(strerror(errno));
+ g_error(
"%s",
strerror(errno));
}
}
}
}
@@
-379,7
+378,7
@@
void teardownSyncChain(LttvTracesetContext* const traceSetContext)
free(syncState);
gettimeofday(&endTime, 0);
free(syncState);
gettimeofday(&endTime, 0);
-
retval=
getrusage(RUSAGE_SELF, &endUsage);
+ getrusage(RUSAGE_SELF, &endUsage);
timeDiff(&endTime, &tracesetChainState->startTime);
timeDiff(&endUsage.ru_utime, &tracesetChainState->startUsage.ru_utime);
timeDiff(&endTime, &tracesetChainState->startTime);
timeDiff(&endUsage.ru_utime, &tracesetChainState->startUsage.ru_utime);
This page took
0.025426 seconds
and
4
git commands to generate.