(ctx context.Context, in Params)
| 388 | } |
| 389 | |
| 390 | func rcSetBlockProfileRate(ctx context.Context, in Params) (out Params, err error) { |
| 391 | rate, err := in.GetInt64("rate") |
| 392 | if err != nil { |
| 393 | return nil, err |
| 394 | } |
| 395 | runtime.SetBlockProfileRate(int(rate)) |
| 396 | return nil, nil |
| 397 | } |
| 398 | |
| 399 | func init() { |
| 400 | Add(Call{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…