diff options
| author | Thomas Gleixner <[email protected]> | 2024-10-01 10:42:09 +0200 | 
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-10-29 11:43:19 +0100 | 
| commit | 1550dde8a537b35dbf066c7f9cfe5f9b360bce0d (patch) | |
| tree | b4c2b18f660d1024e1afa06d5229257732815930 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | cd1e93aedab7f749760a33e9e094381973b1120e (diff) | |
posix-timers: Add proper state tracking
Right now the state tracking is done by two struct members:
 - it_active:
     A boolean which tracks armed/disarmed state
 - it_signal_seq:
     A sequence counter which is used to invalidate settings
     and prevent rearming
Replace it_active with it_status and keep properly track about the states
in one place.
This allows to reuse it_signal_seq to track reprogramming, disarm and
delete operations in order to drop signals which are related to the state
previous of those operations.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions