aboutsummaryrefslogtreecommitdiff
path: root/test/configs/bad_config.cfg
blob: c23f976a1f1d72bacad7092ab83305cd830485b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# The trigger_timeout_ms on this config is much too long and so the config
# should be rejected by the service. This is useful for testing bugs that
# occur when the service rejects a config.

buffers {
  size_kb: 65536
  fill_policy: RING_BUFFER
}

data_sources {
  config {
    name: "linux.ftrace"
    target_buffer: 0
    ftrace_config {
      ftrace_events: "sched_switch"
    }
  }
}


trigger_config {
  trigger_mode: START_TRACING
  triggers: {
    name: "foo"
  }
  trigger_timeout_ms: 900000000
}