summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorfurkanonder <furkanonder@protonmail.com>2024-10-21 18:09:49 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-11-19 16:57:12 +0300
commitfc5f5aef9f97788f085651923789e3c53c065f58 (patch)
treeb5b2c7b9b1b08ac5ae9ca549de7c1f92715e855d /tools/perf/scripts/python/syscall-counts.py
parentfcbc60d7dc4b125c8de130aa1512e5d20726c06e (diff)
downloadlinux-fc5f5aef9f97788f085651923789e3c53c065f58.tar.xz
tools/rtla: Improve code readability in timerlat_load.py
The enhancements made to timerlat_load.py are intended to improve the script's robustness and readability. Summary of the changes: - Unnecessary semicolons at the end of lines have been removed. - Parentheses surrounding the if statement checking args.prio have been eliminated. - String concatenation for constructing timerlat_path has been replaced with an f-string. - Spacing in a multiplication expression has been adjusted for improved clarity. Cc: "jkacur@redhat.com" <jkacur@redhat.com> Cc: "lgoncalv@redhat.com" <lgoncalv@redhat.com> Link: https://lore.kernel.org/j2B-ted7pv3TaldTyqfIHrMmjq2fVyBFgnu3TskiQJsyRzy9loPTVVJoqHnrCWu5T88MDIFc612jUglH6Sxkdg9LN-I1XuITmoL70uECmus=@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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions