summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-10-01 11:42:09 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-10-29 13:43:19 +0300
commit1550dde8a537b35dbf066c7f9cfe5f9b360bce0d (patch)
treeb4c2b18f660d1024e1afa06d5229257732815930 /tools/perf/scripts/python/export-to-postgresql.py
parentcd1e93aedab7f749760a33e9e094381973b1120e (diff)
downloadlinux-1550dde8a537b35dbf066c7f9cfe5f9b360bce0d.tar.xz
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 <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/all/20241001083835.670337048@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions