generic-tracing: add --serial-port and --serial-file command-line options

The generic-tracing experiment now supports logging of I/O port access to file.
Therefore, the serialoutput plugin needs to be included in the experiment
configuration. Without the --serial-file option specified, logging is disabled.

Change-Id: I9e60d8ffd598ee04a50b4d92fc283f75382d478a
This commit is contained in:
Christoph Borchert
2015-06-15 12:06:00 +02:00
parent 9424a2ead7
commit c2b8566e35
3 changed files with 47 additions and 1 deletions

View File

@ -24,6 +24,9 @@ class GenericTracing : public fail::ExperimentFlow {
bool full_trace;
fail::guest_address_t serial_port;
std::string serial_file;
fail::Logger m_log;
fail::ElfReader *m_elf;