summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-hyperv.c
diff options
context:
space:
mode:
authorfurkanonder <furkanonder@protonmail.com>2024-10-21 15:12:30 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-14 20:04:03 +0100
commit98bf83f0e44d1fe922b0c6b8220735a51995876d (patch)
tree2ff29c9d013177357cb49a2ea65bc6d0de4c57a9 /drivers/pci/controller/pci-hyperv.c
parent7214d3a64e6ec3b318d083ba7a12c5389d4ff960 (diff)
tools/rtla: Enhance argument parsing in timerlat_load.py
[ Upstream commit bd26818343dc02936a4f2f7b63368d5e1e1773c8 ] The enhancements made to timerlat_load.py are aimed at improving the clarity of argument parsing. Summary of Changes: - The cpu argument is now specified as an integer type in the argument parser to enforce input validation, and the construction of affinity_mask has been simplified to directly use the integer value of args.cpu. - The prio argument is similarly updated to be of integer type for consistency and validation, eliminating the need for the conversion of args.prio to an integer, as this is now handled by the argument parser. Cc: "jkacur@redhat.com" <jkacur@redhat.com> Cc: "lgoncalv@redhat.com" <lgoncalv@redhat.com> Link: https://lore.kernel.org/QfgO7ayKD9dsLk8_ZDebkAV0OF7wla7UmasbP9CBmui_sChOeizy512t3RqCHTjvQoUBUDP8dwEOVCdHQ5KvVNEiP69CynMY94SFDERWl94=@protonmail.com Signed-off-by: Furkan Onder <furkanonder@protonmail.com> Reviewed-by: Tomas Glozar <tglozar@redhat.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pci/controller/pci-hyperv.c')
0 files changed, 0 insertions, 0 deletions