HomeClusterLabs Projects

Log: scheduler: reimplement warn-once macro

Description

Log: scheduler: reimplement warn-once macro

... using pcmk__set_flags_as() instead of using set_bit(), which improves trace
messages like:

    Bit 0x00001000 set by some_function:100

to:

    Warn-once flags 0x00000008 (pe_wo_poweroff) for logging set by some_function:100

Details

Provenance
kgaillotAuthored on Jun 26 2020, 1:48 PM
Parents
rP2e4bc1faf6bd: Log: fencing: add fencer call option functions
Branches
Unknown
Tags
Unknown

Event Timeline