diff options
author | Philipp Zabel <[email protected]> | 2024-09-25 18:40:09 +0200 |
---|---|---|
committer | Philipp Zabel <[email protected]> | 2024-10-01 17:39:53 +0200 |
commit | dad35f7d2fc14e446669d4cab100597a6798eae5 (patch) | |
tree | 60d13624e809366b2e471f4fa000a146795772ce /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5f79c4b659b50e332ba31ed2c322376e38453bb0 (diff) |
reset: replace boolean parameters with flags parameter
Introduce enum reset_control_flags and replace the list of boolean
parameters to the internal reset_control_get functions with a single
flags parameter, before adding more boolean options.
The separate boolean parameters have been shown to be error prone in
the past. See for example commit a57f68ddc886 ("reset: Fix devm bulk
optional exclusive control getter").
Acked-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions