...

Command testdata

This binary collects a 1s delta mutex profile and dumps it to os.Stdout.

This is in a subprocess because we want the base mutex profile to be empty (as a regression test for https://go.dev/issue/64566) and the only way to force reset the profile is to create a new subprocess.

This manually collects the HTTP response and dumps to stdout in order to avoid any flakiness around port selection for a real HTTP server.