summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorCharan Teja Reddy <charante@codeaurora.org>2019-09-23 17:31:48 +0530
committercharan teja reddy <charante@codeaurora.org>2019-09-25 06:26:31 +0000
commite646a8ba8ba00b1fa522e1c45bb716aa011d1776 (patch)
tree9cf01fd985569cf02c0a38ef9fd037cdce23a466 /debuggerd/handler/debuggerd_handler.cpp
parent34bba98df921408946400a7b93168d97d96a3b36 (diff)
lmkd: limit the traversal of /proc directory
proc_get_script() that can get called for every PSI_POLL_PERIOD_MS can cause throttling as lmkd is a RT process. Add a delay of PSI_PROC_TRAVERSE_DELAY_MS between two successive traversals of /proc directory in the event of no tasks found in the previous traversal. This is empirical value. CRs-Fixed: 2492234 Change-Id: I170b4dab86ee00be101bf132cfe59f53a881c21e
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions