summaryrefslogtreecommitdiff
path: root/include/linux/kref_api.h
diff options
context:
space:
mode:
authorBobby Eshleman <bobbyeshleman@meta.com>2025-11-08 08:00:52 -0800
committerJakub Kicinski <kuba@kernel.org>2025-11-12 06:19:37 -0800
commitd9cac93cd1bed31724f55857b934bcbbc8313b59 (patch)
tree95a6c2a2f39e3da0d8544b5b7489908b142afc07 /include/linux/kref_api.h
parentfc6aa0e470e092873eddb213d996a8beee86bf4d (diff)
selftests/vsock: improve logging in vmtest.sh
Improve usability of logging functions. Remove the test name prefix from logging functions so that logging calls can be made deeper into the call stack without passing down the test name or setting some global. Teach log function to accept a LOG_PREFIX variable to avoid unnecessary argument shifting. Remove log_setup() and instead use log_host(). The host/guest prefixes are useful to show whether a failure happened on the guest or host side, but "setup" doesn't really give additional useful information. Since all log_setup() calls happen on the host, lets just use log_host() instead. Signed-off-by: Bobby Eshleman <bobbyeshleman@meta.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://patch.msgid.link/20251108-vsock-selftests-fixes-and-improvements-v4-1-d5e8d6c87289@meta.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/kref_api.h')
0 files changed, 0 insertions, 0 deletions