generic-tracing: add --restore command-line option
This options performs a restore to the saved state of the machine immediately after saving (default: off). This option is needed when the state is used by other experiments that depend on the trace, which slighty differs without a restore. Change-Id: I4fdf4c5e03779bb9c6e0a0fa335ceae3e20608a5
This commit is contained in:
@ -22,6 +22,7 @@ class GenericTracing : public fail::ExperimentFlow {
|
||||
bool use_memory_map;
|
||||
fail::MemoryMap traced_memory_map;
|
||||
|
||||
bool restore;
|
||||
bool full_trace;
|
||||
|
||||
fail::guest_address_t serial_port;
|
||||
@ -34,7 +35,8 @@ public:
|
||||
void parseOptions();
|
||||
bool run();
|
||||
|
||||
GenericTracing() : full_trace(false), m_log("GenericTracing", false) {}
|
||||
GenericTracing() : restore(false),
|
||||
full_trace(false), m_log("GenericTracing", false) {}
|
||||
};
|
||||
|
||||
#endif // __TRACING_TEST_HPP__
|
||||
|
||||
Reference in New Issue
Block a user