generic-tracing: fix lossage of first event
When using the generic-tracing experiment for generating a trace, the first event, after the tracing is started (the start-symbol) is lost in the trace. This patch handles this special case seperately. Change-Id: Ia131a8559d67161532504160826fdb100247ed75
This commit is contained in:
@ -209,6 +209,10 @@ bool GenericTracing::run()
|
||||
// this must be done *after* configuring the plugin:
|
||||
simulator.addFlow(&tp);
|
||||
|
||||
// In order to not loose the IP event at the beginning of the
|
||||
// trace, we have to handle the IP event manually
|
||||
tp.handleSingleIP(l_start_symbol);
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// STEP 2: continue to the save point, and save state
|
||||
if (start_symbol != save_symbol) {
|
||||
|
||||
Reference in New Issue
Block a user