aboutsummaryrefslogtreecommitdiff
path: root/kernel/gcov/gcov.h
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2023-12-13 18:31:16 +0100
committerWilliam Breathitt Gray <[email protected]>2023-12-18 08:42:20 -0500
commit1e73427f66353b7fe21c138787ff2b711ca1c0dd (patch)
treef813bad50a7b3b5584bef4131b91806391f1b08e /kernel/gcov/gcov.h
parenta39b6ac3781d46ba18193c9dbb2110f31e9bffe9 (diff)
tools/counter: add a flexible watch events tool
This adds a new counter tool to be able to test various watch events. A flexible watch array can be populated from command line, each field may be tuned with a dedicated command line sub-option in "--watch" string. Several watch events can be defined, each can have specific watch options, by using "--watch <watch 1 options> --watch <watch 2 options>". Watch options is a comma separated list. It also comes with a simple default watch (to monitor overflow/underflow events), used when no watch parameters are provided. It's equivalent to: counter_watch_events -w comp_count,scope_count,evt_ovf_udf The print_usage() routine proposes another example, from the command line, which generates a 2 elements watch array, to monitor: - overflow underflow events - capture events, on channel 3, that reads read captured data by specifying the component id (capture3_component_id being 7 here). Signed-off-by: Fabrice Gasnier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: William Breathitt Gray <[email protected]>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions