aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2024-08-07 14:52:50 -1000
committerTejun Heo <tj@kernel.org>2024-08-08 13:42:37 -1000
commit344576fa6a69ce1292ef669c8d50c2088c36dc1e (patch)
tree5dffcd338f0e464dcd7e41445c44dfbcde488bd7 /tools/perf/scripts/python/net_dropmonitor.py
parent991ef53a4832941c8130008ef35c66ec88c7fa0f (diff)
sched_ext: Improve logging around enable/disable
sched_ext currently doesn't generate messages when the BPF scheduler is enabled and disabled unless there are errors. It is useful to have paper trail. Improve logging around enable/disable: - Generate info messages on enable and non-error disable. - Update error exit message formatting so that it's consistent with non-error message. Also, prefix ei->msg with the BPF scheduler's name to make it clear where the message is coming from. - Shorten scx_exit_reason() strings for SCX_EXIT_UNREG* for brevity and consistency. v2: Use pr_*() instead of KERN_* consistently. (David) Signed-off-by: Tejun Heo <tj@kernel.org> Suggested-by: Phil Auld <pauld@redhat.com> Reviewed-by: Phil Auld <pauld@redhat.com> Acked-by: David Vernet <void@manifault.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions