Skip to content
Snippets Groups Projects
Commit 7348d925 authored by Xuewen Yan's avatar Xuewen Yan Committed by Todd Kjos
Browse files

ANDROID: vendor_hooks: Add a hook for set_task_comm


android_rvh_set_task_comm:
	To record vendor-specific task comm's change.

We need to know the name changes of specific tasks so that
we can notify the user layer of the pids of these tasks,
and then the user layer can set some attributes of the tasks
based on the names, such as priority scheduling, priority, etc.

Since the user layer is notified through netlink, and netlink may
cause blocking actions when sending messages, it's non-atomic context,
so set the hook be restricted.

Bug: 317949078
Change-Id: Ica30c123be339a7ef29c727bfaa7513efced5bd1
Signed-off-by: default avatarXuewen Yan <xuewen.yan@unisoc.com>
parent 0675d0fc
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment