diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-20 19:43:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 19:43:17 -0400 |
commit | b1d238bbb8c7ff73f4be1511049059721e2a2404 (patch) | |
tree | e7864372b8c1a79c93350e212f436c296ae6954f /src/common/telemetry.h | |
parent | 028d90eb79b75292d352cc8d4b96a2df74cd6b6e (diff) | |
parent | 60f476cd8f3aa4cf0c9c0091e53559d7e3d30116 (diff) |
Merge pull request #1064 from lioncash/telemetry
common/telemetry: Migrate core-independent info gathering to common
Diffstat (limited to 'src/common/telemetry.h')
-rw-r--r-- | src/common/telemetry.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/common/telemetry.h b/src/common/telemetry.h index 3bab75b59..8d6ab986b 100644 --- a/src/common/telemetry.h +++ b/src/common/telemetry.h @@ -180,4 +180,16 @@ struct NullVisitor : public VisitorInterface { void Complete() override {} }; +/// Appends build-specific information to the given FieldCollection, +/// such as branch name, revision hash, etc. +void AppendBuildInfo(FieldCollection& fc); + +/// Appends CPU-specific information to the given FieldCollection, +/// such as instruction set extensions, etc. +void AppendCPUInfo(FieldCollection& fc); + +/// Appends OS-specific information to the given FieldCollection, +/// such as platform name, etc. +void AppendOSInfo(FieldCollection& fc); + } // namespace Telemetry |