code: func (r *wrappedCmdRun) Run(a subcommands.Application, args []string, env subcommands.Env) int {
  	ctx := GetContext(a, r, env)
  	r.prof.Logger = logging.Get(ctx)
  	r.prof.Clock = clock.Get(ctx)
  
  	if err := r.prof.Start(); err != nil {
  		logging.WithError(err).Errorf(ctx, "Failed to start profiling")
  		return 1
  	}
  	defer r.prof.Stop()
  
  	return r.CommandRun.Run(a, args, env)
  }
docs: // Run is part of CommandRun interface.