summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhan Xusheng <zhanxusheng1024@gmail.com>2026-09-23 22:49:36 +0800
committerJoel Granados <joel.granados@kernel.org>2026-09-25 14:00:00 +0200
commita2c375789aa6c83fc85b8f528ee6d7d5f5666941 (patch)
tree7bbdba01b72cde1cf5368c64170d07aded76c5ae /tools/perf/scripts/python
parent6d8dc12317c2df7e09e7e3d02413490401a3ea31 (diff)
downloadlinux-next-a2c375789aa6c83fc85b8f528ee6d7d5f5666941.tar.gz
linux-next-a2c375789aa6c83fc85b8f528ee6d7d5f5666941.zip
sysctl: Add jiffies converter entries to the test module
lib/test_sysctl.c covers proc_dointvec(), proc_douintvec(), proc_dostring(), proc_do_large_bitmap() and proc_dou8vec_minmax(), but none of the jiffies converters. Their int paths report the sign separately from the magnitude, which is a shape the existing entries do not exercise at all. Add one entry per affected int converter: proc_dointvec_jiffies(), proc_dointvec_ms_jiffies() and proc_dointvec_userhz_jiffies(). Each is seeded with HZ jiffies, which is one second in every converter's own unit, so the three read back as 1, 1000 and 100 respectively. Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com> Reviewed-by: Bradley Morgan <brads@mainlining.org> Tested-by: Bradley Morgan <brads@mainlining.org> # POWER10 Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions