add-trigger: rename --fire-* to --rate-policy=*:value
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 15 Apr 2021 21:35:20 +0000 (17:35 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 18 Apr 2021 23:28:57 +0000 (19:28 -0400)
commitbbadb5e0b423348492c56ef7d8430087d9d9349d
tree83a43ddb92b8e2c6003c9ef36de768e66e37e293
parent7f4d5b07cf7be895b38b69073389a4fcc318ec29
add-trigger: rename --fire-* to --rate-policy=*:value

With the move to firing policy to the action and the renaming to rate
policy, a rename of the CLI options is necessary.

We introduce the following format:

  --rate-policy=<type>:<value>

Where type is either: once-after or every.
Value is an unsigned long long value.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I6df264c536293e686033d0baa8fe870c75c28b8d
doc/man/lttng-add-trigger.1.txt
src/bin/lttng/commands/add_trigger.c
tests/regression/tools/trigger/rate-policy/test_ust_rate_policy
tests/regression/tools/trigger/test_add_trigger_cli
tests/regression/tools/trigger/test_list_triggers_cli
This page took 0.033636 seconds and 4 git commands to generate.