Index: kernel_collector.h |
diff --git a/kernel_collector.h b/kernel_collector.h |
index 708fd1b9ee7641c3b0de62f2a8c9dd0f0e996758..6f4886ef21417fb6162fa2fe18531addbcf369c0 100644 |
--- a/kernel_collector.h |
+++ b/kernel_collector.h |
@@ -18,6 +18,15 @@ class FilePath; |
// Kernel crash collector. |
class KernelCollector : public CrashCollector { |
public: |
+ // Enumeration to specify architecture type. |
+ enum ArchKind { |
+ archArm, // ARM variant. |
+ archX86, // X86 variant. |
+ archUnknown, // We don't know. |
+ |
+ archCount // Number of architectures. |
+ }; |
+ |
KernelCollector(); |
virtual ~KernelCollector(); |
@@ -62,6 +71,9 @@ class KernelCollector : public CrashCollector { |
bool print_diagnostics, |
std::string *panic_message); |
+ // Returns the architecture kind for which we are build - enum ArchKind |
+ enum ArchKind GetArch(void); |
+ |
bool is_enabled_; |
FilePath preserved_dump_path_; |
static const char kClearingSequence[]; |