diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-05-17 12:48:07 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-05-17 11:26:58 +0000 |
| commit | a12e99e74dfc7cbe54720d8383cec46aaf024a28 (patch) | |
| tree | 1f53d3842efba0b71cea49b4948c0c24450e47f9 /pkg/csource/options.go | |
| parent | e09a60f8522234ba7968e421dd9d2e6d86af69db (diff) | |
pkg/csource: remove the Repro option
Enable it unconditionally.
Diffstat (limited to 'pkg/csource/options.go')
| -rw-r--r-- | pkg/csource/options.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkg/csource/options.go b/pkg/csource/options.go index 9490e394a..ba6dcfbed 100644 --- a/pkg/csource/options.go +++ b/pkg/csource/options.go @@ -48,9 +48,6 @@ type Options struct { UseTmpDir bool `json:"tmpdir,omitempty"` HandleSegv bool `json:"segv,omitempty"` - // Generate code for use with repro package to prints log messages, - // which allows to detect hangs. - Repro bool `json:"repro,omitempty"` Trace bool `json:"trace,omitempty"` LegacyOptions } @@ -169,7 +166,6 @@ func DefaultOpts(cfg *mgrconfig.Config) Options { Sandbox: cfg.Sandbox, UseTmpDir: true, HandleSegv: true, - Repro: true, } if cfg.TargetOS == targets.Linux { opts.NetInjection = true @@ -222,7 +218,7 @@ func deserializeLegacyOptions(data string, opts *Options) (int, error) { "HandleSegv": &opts.HandleSegv, "WaitRepeat": &ignoreBool, "Debug": &ignoreBool, - "Repro": &opts.Repro, + "Repro": &ignoreBool, } data = strings.TrimSpace(data) @@ -366,6 +362,5 @@ var ExecutorOpts = Options{ Procs: 2, Slowdown: 1, Sandbox: "none", - Repro: true, UseTmpDir: true, } |
