aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/csource/options.go')
-rw-r--r--pkg/csource/options.go18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkg/csource/options.go b/pkg/csource/options.go
index 74d4a587a..4438e5df2 100644
--- a/pkg/csource/options.go
+++ b/pkg/csource/options.go
@@ -50,6 +50,9 @@ type Options struct {
HandleSegv bool `json:"segv,omitempty"`
Trace bool `json:"trace,omitempty"`
+
+ CallComments bool `json:"callcomments,omitempty"`
+
LegacyOptions
}
@@ -160,13 +163,14 @@ func (opts Options) checkLinuxOnly(OS string) error {
func DefaultOpts(cfg *mgrconfig.Config) Options {
opts := Options{
- Threaded: true,
- Repeat: true,
- Procs: cfg.Procs,
- Slowdown: cfg.Timeouts.Slowdown,
- Sandbox: cfg.Sandbox,
- UseTmpDir: true,
- HandleSegv: true,
+ Threaded: true,
+ Repeat: true,
+ Procs: cfg.Procs,
+ Slowdown: cfg.Timeouts.Slowdown,
+ Sandbox: cfg.Sandbox,
+ UseTmpDir: true,
+ HandleSegv: true,
+ CallComments: true,
}
if cfg.TargetOS == targets.Linux {
opts.NetInjection = true