diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-05-03 08:44:48 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-05-03 15:57:46 +0000 |
| commit | 610f2a54d02f8cf4f2454c03bf679b602e6e59b6 (patch) | |
| tree | dd1768a4e516fe9fb6945613ebf009eda82317f6 /pkg/instance/instance.go | |
| parent | 3a81775029176dd4c693542e6715b985fa7ade4d (diff) | |
pkg/rpctype: prepare for not using for target communication
Remove things that are only needed for target VM communication:
conditional compression, timeout scaling, traffic stats.
To minimize diffs when we switch target VM communication to flatrpc.
Diffstat (limited to 'pkg/instance/instance.go')
| -rw-r--r-- | pkg/instance/instance.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index 3e59209e2..d47c093ec 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -456,10 +456,9 @@ func (inst *inst) testRepro() ([]byte, error) { } type OptionalFuzzerArgs struct { - Slowdown int - SandboxArg int - PprofPort int - NetCompression bool + Slowdown int + SandboxArg int + PprofPort int } type FuzzerCmdArgs struct { @@ -496,7 +495,6 @@ func FuzzerCmd(args *FuzzerCmdArgs) string { {Name: "slowdown", Value: fmt.Sprint(args.Optional.Slowdown)}, {Name: "sandbox_arg", Value: fmt.Sprint(args.Optional.SandboxArg)}, {Name: "pprof_port", Value: fmt.Sprint(args.Optional.PprofPort)}, - {Name: "net_compression", Value: fmt.Sprint(args.Optional.NetCompression)}, } optionalArg = " " + tool.OptionalFlags(flags) } |
