HomeClusterLabs Projects

Log: controller: add FSA action flag functions

Description

Log: controller: add FSA action flag functions

... instead of set_bit()/clear_bit(), which improves trace messages like:

Bit 0x00000200 set by some_function:100

to:

FSA action flags 0x00000200 (A_DC_TIMER_STOP) for controller set by some_function:100

The new flag functions also replace the register_fsa_action() wrapper. To keep
similar behavior, they log at debug level, rather than the usual trace.

Details

Provenance
kgaillotAuthored on Aug 3 2020, 1:49 PM
Parents
rP54ab11615c6a: Refactor: controller: trigger the FSA more consistently
Branches
Unknown
Tags
Unknown

Event Timeline