diff options
author | 2024-08-07 14:52:50 -1000 | |
---|---|---|
committer | 2024-08-08 13:42:37 -1000 | |
commit | 344576fa6a69ce1292ef669c8d50c2088c36dc1e (patch) | |
tree | 5dffcd338f0e464dcd7e41445c44dfbcde488bd7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched_ext: Make scx_rq_online() also test cpu_active() in addition to SCX_RQ_ONLINE (diff) | |
download | wireguard-linux-344576fa6a69ce1292ef669c8d50c2088c36dc1e.tar.xz wireguard-linux-344576fa6a69ce1292ef669c8d50c2088c36dc1e.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions