diff options
author | Jeff Layton <[email protected]> | 2024-10-02 17:27:17 -0400 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-10-10 10:20:46 +0200 |
commit | 2a15385742c689a271345dcbb4c28b9c568bc7ce (patch) | |
tree | ae5946a9f20a5508c8c77a74b574f399d87e1b19 /scripts/generate_rust_analyzer.py | |
parent | ee3283c608dfa21251b0821d7bb198c7ae3189f6 (diff) |
timekeeping: Add percpu counter for tracking floor swap events
The mgtime_floor value is a global variable for tracking the latest
fine-grained timestamp handed out. Because it's a global, track the
number of times that a new floor value is assigned.
Add a new percpu counter to the timekeeping code to track the number of
floor swap events that have occurred. A later patch will add a debugfs
file to display this counter alongside other stats involving multigrain
timestamps.
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Randy Dunlap <[email protected]> # documentation bits
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions