Skip to content

Commit

Permalink
printk: Filter out libperfmgr informations
Browse files Browse the repository at this point in the history
Since we dropped sched tune support, libperfmgr tries to write /dev/stune/top-app/schedtune.* node and dumping failure logs. So filter them out

Signed-off-by: Santhosh <santhosh.user.why.red@gmail.com>
  • Loading branch information
user-why-red committed Jun 7, 2024
1 parent 1ee192a commit b24a184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/printk/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ static ssize_t devkmsg_write(struct kiocb *iocb, struct iov_iter *from)

if (strstr(line, "healthd") || strstr(line, "logd") ||
strstr(line, "DM_DEV_STATUS") || strstr(line, "Untracked pid") ||
strstr(line, "usb_gadget") || strstr(line, "LibBpfLoader"))
strstr(line, "usb_gadget") || strstr(line, "LibBpfLoader") || strstr(line, "libperfmgr"))
return len;

printk_emit(facility, level, NULL, 0, "%s", line);
Expand Down

0 comments on commit b24a184

Please sign in to comment.