Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9db7e93 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Teaches the ProcessCpuTracker about USAPs." am: 3bc51682 am:...

Merge "Teaches the ProcessCpuTracker about USAPs." am: 3bc51682 am: 1ccb15b7 am: 3ceb4bd3 am: 4c007a13

Change-Id: Ife2c15f2dd87001a44049293a8e5a446d025ebe1
parents 637893b8 4c007a13
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -945,8 +945,11 @@ public class ProcessCpuTracker {

    private void getName(Stats st, String cmdlineFile) {
        String newName = st.name;
        if (st.name == null || st.name.equals("app_process")
                || st.name.equals("<pre-initialized>")) {
        if (st.name == null
                || st.name.equals("app_process")
                || st.name.equals("<pre-initialized>")
                || st.name.equals("usap32")
                || st.name.equals("usap64")) {
            String cmdName = ProcStatsUtil.readTerminatedProcFile(cmdlineFile, (byte) '\0');
            if (cmdName != null && cmdName.length() > 1) {
                newName = cmdName;