summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-04-27 00:42:00 +0000
committergVisor bot <gvisor-bot@google.com>2021-04-27 00:42:00 +0000
commit8ae55bf31f429dc00137c41094fb174df510dc6a (patch)
treed339fb2af4edb91b8821432361e785e20ceb9faf /pkg/sentry/syscalls/linux
parent0955522b1de29833e632e429e3667be402566f18 (diff)
parent5b207fe7834d9c6541bd99bf75e3dfeebce2d9d5 (diff)
Merge release-20210419.0-33-g5b207fe78 (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux')
-rw-r--r--pkg/sentry/syscalls/linux/error.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/sentry/syscalls/linux/error.go b/pkg/sentry/syscalls/linux/error.go
index c668e81ac..6eabfd219 100644
--- a/pkg/sentry/syscalls/linux/error.go
+++ b/pkg/sentry/syscalls/linux/error.go
@@ -29,8 +29,7 @@ import (
)
var (
- partialResultMetric = metric.MustCreateNewUint64Metric("/syscalls/partial_result", true /* sync */, "Whether or not a partial result has occurred for this sandbox.")
- partialResultOnce sync.Once
+ partialResultOnce sync.Once
)
// incrementPartialResultMetric increments PartialResultMetric by calling
@@ -38,7 +37,6 @@ var (
// us to pass a function which does not take any arguments, whereas Increment()
// takes a variadic number of arguments.
func incrementPartialResultMetric() {
- partialResultMetric.Increment()
metric.WeirdnessMetric.Increment("partial_result")
}