The dciao-kernelstructs experiment does a trace imported by the DCiAOKernelImporter: bin/import-trace -t trace.pb -i DCiAOKernelImporter --elf-file app.elf Pruned by the basic method: bin/prune-trace and does CiAO fault injection experiments, where the results are stored in the database. Change-Id: I485dc2e5097b3ebaf354241f474ee3d317213707
24 lines
731 B
C++
24 lines
731 B
C++
#ifndef __DCIAOCAMPAIGN_HPP__
|
|
#define __DCIAOCAMPAIGN_HPP__
|
|
|
|
#include "cpn/DatabaseCampaign.hpp"
|
|
#include "comm/ExperimentData.hpp"
|
|
#include "dciao_kernel.pb.h"
|
|
#include "util/ElfReader.hpp"
|
|
#include <google/protobuf/descriptor.h>
|
|
|
|
class DCIAOKernelExperimentData : public fail::ExperimentData {
|
|
public:
|
|
DCIAOKernelProtoMsg msg;
|
|
DCIAOKernelExperimentData() : fail::ExperimentData(&msg) {}
|
|
};
|
|
|
|
class DCIAOKernelCampaign : public fail::DatabaseCampaign {
|
|
virtual const google::protobuf::Descriptor * cb_result_message()
|
|
{ return google::protobuf::DescriptorPool::generated_pool()->FindMessageTypeByName("DCIAOKernelProtoMsg"); }
|
|
|
|
virtual void cb_send_pilot(DatabaseCampaignMessage pilot);
|
|
};
|
|
|
|
#endif // __KESOREFCAMPAIGN_HPP__
|