projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have callbacks for "background" and "foreground" graphs
[lttv.git]
/
lttv
/
lttv
/
sync
/
event_matching_tcp.c
diff --git
a/lttv/lttv/sync/event_matching_tcp.c
b/lttv/lttv/sync/event_matching_tcp.c
index 3bfe479ed48ad8e3b4e22199c43ab3825d5ae37e..45255e32516b8c15ab14b98631541cc95b595142 100644
(file)
--- a/
lttv/lttv/sync/event_matching_tcp.c
+++ b/
lttv/lttv/sync/event_matching_tcp.c
@@
-43,8
+43,8
@@
static void destroyMatchingTCP(SyncState* const syncState);
static void matchEventTCP(SyncState* const syncState, Event* const event);
static GArray* finalizeMatchingTCP(SyncState* const syncState);
static void printMatchingStatsTCP(SyncState* const syncState);
static void matchEventTCP(SyncState* const syncState, Event* const event);
static GArray* finalizeMatchingTCP(SyncState* const syncState);
static void printMatchingStatsTCP(SyncState* const syncState);
-static void writeMatchingGraphsPlotsTCP
(SyncState* const syncState, const
- unsigned int i, const unsigned int j);
+static void writeMatchingGraphsPlotsTCP
Messages(SyncState* const syncState,
+
const
unsigned int i, const unsigned int j);
// Functions specific to this module
static void registerMatchingTCP() __attribute__((constructor (101)));
// Functions specific to this module
static void registerMatchingTCP() __attribute__((constructor (101)));
@@
-74,8
+74,9
@@
static MatchingModule matchingModuleTCP = {
.matchEvent= &matchEventTCP,
.finalizeMatching= &finalizeMatchingTCP,
.printMatchingStats= &printMatchingStatsTCP,
.matchEvent= &matchEventTCP,
.finalizeMatching= &finalizeMatchingTCP,
.printMatchingStats= &printMatchingStatsTCP,
- .writeMatchingGraphsPlots= &writeMatchingGraphsPlotsTCP,
- .writeMatchingGraphsOptions= NULL,
+ .graphFunctions= {
+ .writeTraceTraceForePlots= &writeMatchingGraphsPlotsTCPMessages,
+ }
};
};
@@
-702,8
+703,8
@@
static void closeGraphDataFiles(SyncState* const syncState)
* i: first trace number
* j: second trace number, garanteed to be larger than i
*/
* i: first trace number
* j: second trace number, garanteed to be larger than i
*/
-static void writeMatchingGraphsPlotsTCP
(SyncState* const syncState, const
- unsigned int i, const unsigned int j)
+static void writeMatchingGraphsPlotsTCP
Messages(SyncState* const syncState,
+
const
unsigned int i, const unsigned int j)
{
fprintf(syncState->graphsStream,
"\t\"matching_tcp-%1$03d_to_%2$03d.data\" "
{
fprintf(syncState->graphsStream,
"\t\"matching_tcp-%1$03d_to_%2$03d.data\" "
This page took
0.024034 seconds
and
4
git commands to generate.