diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-08-27 03:27:43 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-27 03:27:43 +0000 |
commit | d27124946910f6025ce8f248831e8c356579a6c2 (patch) | |
tree | 6ed37bb2e84981b40708a8604e46130b8fb14040 /runsc/boot/strace.go | |
parent | 6f5bd2d5be4fe63533bee65ba0fa767a08bc3c3f (diff) | |
parent | 32e7a54f7f413ba83af8217b9bc0a367e3c30f94 (diff) |
Merge release-20200818.0-66-g32e7a54f7 (automated)
Diffstat (limited to 'runsc/boot/strace.go')
-rw-r--r-- | runsc/boot/strace.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runsc/boot/strace.go b/runsc/boot/strace.go index 176981f74..c21648a32 100644 --- a/runsc/boot/strace.go +++ b/runsc/boot/strace.go @@ -15,6 +15,8 @@ package boot import ( + "strings" + "gvisor.dev/gvisor/pkg/sentry/strace" "gvisor.dev/gvisor/runsc/config" ) @@ -37,5 +39,5 @@ func enableStrace(conf *config.Config) error { strace.EnableAll(strace.SinkTypeLog) return nil } - return strace.Enable(conf.StraceSyscalls, strace.SinkTypeLog) + return strace.Enable(strings.Split(conf.StraceSyscalls, ","), strace.SinkTypeLog) } |