aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorGary Lin <[email protected]>2021-06-23 12:09:18 +0800
committerDaniel Borkmann <[email protected]>2021-06-25 13:13:50 +0200
commita196fa78a26571359740f701cf30d774eb8a72cb (patch)
treee3acaef4f2f37277fb8c626cf7a471d04b7d2142 /scripts/gdb/linux/tasks.py
parent0cc84b9a6003fa7f6ef5d19e7c8532a01cd41776 (diff)
bpfilter: Specify the log level for the kmsg message
Per the kmsg document [0], if we don't specify the log level with a prefix "<N>" in the message string, the default log level will be applied to the message. Since the default level could be warning(4), this would make the log utility such as journalctl treat the message, "Started bpfilter", as a warning. To avoid confusion, this commit adds the prefix "<5>" to make the message always a notice. [0] https://www.kernel.org/doc/Documentation/ABI/testing/dev-kmsg Fixes: 36c4357c63f3 ("net: bpfilter: print umh messages to /dev/kmsg") Reported-by: Martin Loviska <[email protected]> Signed-off-by: Gary Lin <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Dmitrii Banshchikov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions