diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-11-09 20:27:49 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-09 20:27:49 +0000 |
commit | 4e6c02d4d1579cb078adbdd9ac981d6d6024692d (patch) | |
tree | 4733bd51da29b322e15c0b452f92cd37e23f9680 /pkg | |
parent | 2023b39e9bfa49e63d056cb8ece3f1e21a36282e (diff) | |
parent | cbca5b2edde0920309029a0c591f28ce65cdad70 (diff) |
Merge release-20201030.0-57-gcbca5b2ed (automated)
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/sentry/fsimpl/sys/sys.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/sys/sys.go b/pkg/sentry/fsimpl/sys/sys.go index 79bc3fe88..dbd9ebdda 100644 --- a/pkg/sentry/fsimpl/sys/sys.go +++ b/pkg/sentry/fsimpl/sys/sys.go @@ -23,6 +23,7 @@ import ( "gvisor.dev/gvisor/pkg/abi/linux" "gvisor.dev/gvisor/pkg/context" "gvisor.dev/gvisor/pkg/coverage" + "gvisor.dev/gvisor/pkg/log" "gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs" "gvisor.dev/gvisor/pkg/sentry/kernel" "gvisor.dev/gvisor/pkg/sentry/kernel/auth" @@ -126,6 +127,7 @@ func kernelDir(ctx context.Context, fs *filesystem, creds *auth.Credentials) ker // keep it in sys. var children map[string]kernfs.Inode if coverage.KcovAvailable() { + log.Debugf("Set up /sys/kernel/debug/kcov") children = map[string]kernfs.Inode{ "debug": fs.newDir(ctx, creds, linux.FileMode(0700), map[string]kernfs.Inode{ "kcov": fs.newKcovFile(ctx, creds), |