summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJin Qian2017-01-20 22:41:14 -0600
committerJin Qian2017-01-20 22:41:14 -0600
commita1740cbaa4ba9dff6ec2e9045c08ba56edf8e492 (patch)
treebd52b128d83520e924b28a9258d667fda15ca475 /storaged
parent24c389a8bf62448ac6b3f9f99a336006786c7c36 (diff)
downloadplatform-system-core-a1740cbaa4ba9dff6ec2e9045c08ba56edf8e492.tar.gz
platform-system-core-a1740cbaa4ba9dff6ec2e9045c08ba56edf8e492.tar.xz
platform-system-core-a1740cbaa4ba9dff6ec2e9045c08ba56edf8e492.zip
storaged: disable taskio since it's too expensive
It has no active user and will be replaced by uid io. |--99.99%-- storaged_t::event() | |--99.68%-- tasks_t::update_running_tasks() | | | |--93.00%-- parse_task_info(unsigned int, task_info*) | | | | |--49.94%-- android::base::ReadFileToString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool) | | | | |--29.00%-- read | | | | |--5.00%-- std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(unsigned long&) | | | | |--4.83%-- android::base::StringPrintf(char const*, ...) | | | | |--1.93%-- android::base::Split(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) Bug: 34263766 Bug: 34198239 Change-Id: I3f4851b5ce27751eebd40f4b56e1ee24297c4c7d
Diffstat (limited to 'storaged')
-rw-r--r--storaged/storaged.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/storaged/storaged.cpp b/storaged/storaged.cpp
index 8f7ce62c8..e4d3e686e 100644
--- a/storaged/storaged.cpp
+++ b/storaged/storaged.cpp
@@ -190,9 +190,11 @@ void storaged_t::event(void) {
190 } 190 }
191 } 191 }
192 192
193#ifdef DEBUG
193 if (mConfig.proc_taskio_readable) { 194 if (mConfig.proc_taskio_readable) {
194 mTasks.update_running_tasks(); 195 mTasks.update_running_tasks();
195 } 196 }
197#endif
196 198
197 if (mConfig.emmc_available && mTimer && 199 if (mConfig.emmc_available && mTimer &&
198 (mTimer % mConfig.periodic_chores_interval_emmc_info_publish) == 0) { 200 (mTimer % mConfig.periodic_chores_interval_emmc_info_publish) == 0) {