bugfix: we still need the tracefile variable

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1313 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-06-06 14:27:26 +00:00
parent cfa6153b56
commit c9c468fdbd
2 changed files with 4 additions and 2 deletions

View File

@ -72,7 +72,8 @@ bool ChecksumOOStuBSExperiment::run()
tp.restrictMemoryAddresses(&mm);
// record trace
std::ofstream of("trace.pb");
char const *tracefile = "trace.pb";
std::ofstream of(tracefile);
tp.setTraceFile(&of);
// this must be done *after* configuring the plugin:

View File

@ -75,7 +75,8 @@ bool WeathermonitorExperiment::run()
//tp.setLogIPOnly(true);
// record trace
std::ofstream of("trace.pb");
char const *tracefile = "trace.pb";
std::ofstream of(tracefile);
tp.setTraceFile(&of);
// this must be done *after* configuring the plugin: