diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-01-16 14:50:43 +0100 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@gmail.com> | 2019-01-16 19:19:53 +0100 |
| commit | c2faf9b2d5b583f53d01b8b483e26b61ed72cbbf (patch) | |
| tree | 8223752709973ec927c4291fda3f3341a5ef0ea6 /pkg/host/host.go | |
| parent | b5df78dc5d994bc61f1ecee2c5c85313178f392e (diff) | |
all: detect extra coverage support
Based on whether the kernel supports KCOV_REMOTE_ENABLE ioctl.
Diffstat (limited to 'pkg/host/host.go')
| -rw-r--r-- | pkg/host/host.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/host/host.go b/pkg/host/host.go index 062cae25f..d8d83916d 100644 --- a/pkg/host/host.go +++ b/pkg/host/host.go @@ -47,6 +47,7 @@ var testFallback = false const ( FeatureCoverage = iota FeatureComparisons + FeatureExtraCoverage FeatureSandboxSetuid FeatureSandboxNamespace FeatureSandboxAndroidUntrustedApp @@ -79,6 +80,7 @@ func Check(target *prog.Target) (*Features, error) { res := &Features{ FeatureCoverage: {Name: "code coverage", Reason: unsupported}, FeatureComparisons: {Name: "comparison tracing", Reason: unsupported}, + FeatureExtraCoverage: {Name: "extra coverage", Reason: unsupported}, FeatureSandboxSetuid: {Name: "setuid sandbox", Reason: unsupported}, FeatureSandboxNamespace: {Name: "namespace sandbox", Reason: unsupported}, FeatureSandboxAndroidUntrustedApp: {Name: "Android sandbox", Reason: unsupported}, |
