aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2021-06-17 17:44:50 -0700
committerJens Axboe <[email protected]>2021-06-21 15:03:40 -0600
commitd6d7f013d65491eaff477b9bd83b80111f5be9e4 (patch)
treec46f71bb44d9ad64258542b106d0a74b127a3e2d /scripts/gdb/linux/timerlist.py
parent004a26b327c2e1ea88b2638cf16c0e30e82f297e (diff)
block/mq-deadline: Improve the sysfs show and store macros
Define separate macros for integers and jiffies to improve readability. Use sysfs_emit() and kstrtoint() instead of sprintf() and simple_strtol(). The former functions are the recommended functions. Cc: Damien Le Moal <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Ming Lei <[email protected]> Cc: Johannes Thumshirn <[email protected]> Cc: Himanshu Madhani <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions