From da19ef21b575ae80276854e597bbfc8df4ca3abd Mon Sep 17 00:00:00 2001 From: Chenjie Yu Date: Fri, 12 Jan 2018 19:44:59 -0800 Subject: [PATCH] fix bug in CpuTimePerUidFreqPuller to pull the correct file Test: cts test Change-Id: I2eaf3c50336d05a5ecb0ef8a27fafd4ac822481b --- cmds/statsd/src/external/CpuTimePerUidFreqPuller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/statsd/src/external/CpuTimePerUidFreqPuller.cpp b/cmds/statsd/src/external/CpuTimePerUidFreqPuller.cpp index a61afb429f54f..a751273247456 100644 --- a/cmds/statsd/src/external/CpuTimePerUidFreqPuller.cpp +++ b/cmds/statsd/src/external/CpuTimePerUidFreqPuller.cpp @@ -34,7 +34,7 @@ namespace android { namespace os { namespace statsd { -static const string sProcFile = "/proc/uid_cputime/show_uid_stat"; +static const string sProcFile = "/proc/uid_time_in_state"; static const int kLineBufferSize = 1024; /**