blob: 62731e25be60aae7de6b56a062d772e91d2a5dff [file] [log] [blame]
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2017-07-10 12:26:40,568 INFO : root : Using LISA logging configuration:\n",
"2017-07-10 12:26:40,570 INFO : root : /home/joelaf/repo/lisa-aosp/external/lisa/logging.conf\n",
"2017-07-10 12:26:40,571 INFO : root : #### Setup FTrace\n"
]
}
],
"source": [
"#!/usr/bin/env python\n",
"\n",
"import trappy\n",
"from trace import Trace\n",
"import itertools\n",
"import logging\n",
"import pandas as pd\n",
"import numpy as np\n",
"import os\n",
"\n",
"from conf import LisaLogging\n",
"LisaLogging.setup()\n",
"logging.info('#### Setup FTrace')\n",
"# path_to_html = \"/home/joelaf/repo/lisa-aosp/external/lisa/results/UiBench_default/trace.html\"\n",
"path_to_html = \"/home/joelaf/repo/lisa-aosp/external/lisa/ipynb/residency/trace-residency.html\""
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false,
"scrolled": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/joelaf/repo/lisa-aosp/external/lisa/libs/utils/trace.py:258: DtypeWarning: Columns (10) have mixed types. Specify dtype option on import or set low_memory=False.\n",
" window=window, normalize_time=normalize_time)\n",
"/home/joelaf/repo/lisa-aosp/external/trappy/trappy/utils.py:154: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)\n",
" df = pd.concat([pr_df, sec_df], keys=['primary', 'secondary']).sort(columns='__line')\n",
"/home/joelaf/repo/lisa-aosp/external/lisa/libs/utils/trace.py:574: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)\n",
" fdf = pd.concat([fdf, forkdf]).sort(columns='__line')\n",
"/home/joelaf/repo/lisa-aosp/external/lisa/libs/utils/trace.py:584: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)\n",
" fdf = pd.concat([fdf, cdf]).sort(columns='__line')\n",
"2017-07-10 12:26:44,985 INFO : Trace : Couldn't attach all forks cgroup with-attach events (57 dropped)\n",
"2017-07-10 12:26:45,097 INFO : Trace : Couldn't attach all forks cgroup with-attach events (57 dropped)\n"
]
}
],
"source": [
"tr = Trace(None, path_to_html,\n",
" cgroup_info = { \n",
" 'cgroups': ['foreground', 'background', 'system-background', 'top-app', 'rt'],\n",
" 'controller_ids': { 2: 'cpuset', 4: 'schedtune' }\n",
" },\n",
" events=[ 'sched_switch', 'cgroup_attach_task_devlib', 'cgroup_attach_task', 'sched_process_fork' ],\n",
" normalize_time=False)\n",
"\n",
"# tr.data_frame.trace_event('cgroup_attach_task_devlib')\n",
"# len(tr.data_frame.trace_event('cgroup_attach_task_devlib').groupby(level=0).filter(lambda x: len(x) > 1))\n",
"cdf = tr.data_frame.cgroup_attach_task()\n",
"\n",
"ssdf = tr.data_frame.sched_switch_cgroup()"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false,
"scrolled": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2017-07-10 12:27:04,224 INFO : Trace : Couldn't attach all forks cgroup with-attach events (57 dropped)\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"original fork df:\n",
" pid child_pid\n",
"Time \n",
"317.512955 2467 9883\n",
"324.385811 1086 9884\n",
"325.493887 9696 9885\n",
"325.494522 9695 9886\n",
"325.495726 9696 9887\n",
"325.496083 9696 9888\n",
"325.496302 9696 9889\n",
"325.516582 9885 9890\n",
"325.518904 1152 9891\n",
"326.379281 8569 9892\n",
"326.822364 1042 9893\n",
"331.001721 2 9894\n",
"336.826480 1042 9895\n",
"337.580295 1166 9896\n",
"337.587107 1166 9897\n",
"337.605980 9896 9898\n",
"337.650938 1166 9899\n",
"337.657055 1166 9900\n",
"337.670824 9899 9901\n",
"337.672171 9901 9902\n",
"\n",
"combined cgroup df\n",
" __line pid controller cgroup\n",
"Time \n",
"317.512955 54833 9883.0 schedtune foreground\n",
"317.512955 54833 9883.0 cpuset root\n",
"321.554727 136229 1481.0 cpuset foreground\n",
"321.581165 136824 1481.0 cpuset background\n",
"321.581535 136828 1481.0 cpuset background\n",
"324.385811 189791 9884.0 cpuset root\n",
"324.385811 189791 9884.0 schedtune root\n",
"325.493887 211051 9885.0 schedtune root\n",
"325.493887 211051 9885.0 cpuset root\n",
"325.494522 211075 9886.0 cpuset root\n",
"325.494522 211075 9886.0 schedtune root\n",
"325.495726 211124 9887.0 cpuset root\n",
"325.495726 211124 9887.0 schedtune root\n",
"325.496083 211128 9888.0 schedtune root\n",
"325.496083 211128 9888.0 cpuset root\n",
"325.496302 211133 9889.0 cpuset root\n",
"325.496302 211133 9889.0 schedtune root\n",
"325.518904 211673 9891.0 cpuset foreground\n",
"325.518904 211673 9891.0 schedtune foreground\n",
"326.379281 228702 9892.0 cpuset root\n",
"\n",
"final df with nans\n",
" prev_pid prev_comm prev_cpuset prev_schedtune\n",
"Time \n",
"325.517052 9890.0 dumpsys NaN NaN\n",
"325.518990 9890.0 dumpsys NaN NaN\n",
"325.520947 9890.0 dumpsys NaN NaN\n",
"337.607810 9898.0 sh NaN NaN\n",
"337.683382 9902.0 ps NaN NaN\n",
"337.690561 9902.0 ps NaN NaN\n",
"337.691216 9902.0 ps NaN NaN\n",
"337.691269 9902.0 ps NaN NaN\n",
"337.691489 9902.0 ps NaN NaN\n",
"337.691699 9902.0 ps NaN NaN\n",
"337.691904 9902.0 ps NaN NaN\n",
"337.692047 9902.0 ps NaN NaN\n",
"337.692177 9902.0 ps NaN NaN\n",
"337.692385 9902.0 ps NaN NaN\n",
"337.692587 9902.0 ps NaN NaN\n",
"337.692789 9902.0 ps NaN NaN\n",
"337.692992 9902.0 ps NaN NaN\n",
"337.693192 9902.0 ps NaN NaN\n",
"337.693424 9902.0 ps NaN NaN\n",
"337.693630 9902.0 ps NaN NaN\n",
"337.693856 9902.0 ps NaN NaN\n",
"337.694058 9902.0 ps NaN NaN\n",
"337.694261 9902.0 ps NaN NaN\n",
"337.694459 9902.0 ps NaN NaN\n",
"337.694657 9902.0 ps NaN NaN\n",
"337.694858 9902.0 ps NaN NaN\n",
"337.695055 9902.0 ps NaN NaN\n",
"337.695256 9902.0 ps NaN NaN\n",
"337.695452 9902.0 ps NaN NaN\n",
"337.695658 9902.0 ps NaN NaN\n",
"... ... ... ... ...\n",
"338.065218 9906.0 atrace NaN NaN\n",
"338.065356 9906.0 atrace NaN NaN\n",
"338.065474 9906.0 atrace NaN NaN\n",
"338.065639 9906.0 atrace NaN NaN\n",
"338.065754 9906.0 atrace NaN NaN\n",
"338.065933 9906.0 atrace NaN NaN\n",
"338.066066 9906.0 atrace NaN NaN\n",
"338.066181 9906.0 atrace NaN NaN\n",
"338.066322 9906.0 atrace NaN NaN\n",
"338.066730 9906.0 atrace NaN NaN\n",
"338.067677 9906.0 atrace NaN NaN\n",
"338.067789 9906.0 atrace NaN NaN\n",
"338.067898 9906.0 atrace NaN NaN\n",
"338.068035 9906.0 atrace NaN NaN\n",
"338.068341 9906.0 atrace NaN NaN\n",
"338.068445 9906.0 atrace NaN NaN\n",
"338.068556 9906.0 atrace NaN NaN\n",
"338.068803 9906.0 atrace NaN NaN\n",
"338.068998 9906.0 atrace NaN NaN\n",
"338.069178 9906.0 atrace NaN NaN\n",
"338.069925 9906.0 atrace NaN NaN\n",
"338.070110 9906.0 atrace NaN NaN\n",
"338.070611 9906.0 atrace NaN NaN\n",
"338.070946 9906.0 atrace NaN NaN\n",
"338.073095 9906.0 atrace NaN NaN\n",
"338.076322 9906.0 atrace NaN NaN\n",
"338.079205 9906.0 atrace NaN NaN\n",
"338.080596 9906.0 atrace NaN NaN\n",
"338.084856 9906.0 atrace NaN NaN\n",
"338.085699 9906.0 atrace NaN NaN\n",
"\n",
"[1098 rows x 4 columns]\n"
]
}
],
"source": [
"# build schedtune group information\n",
"\n",
"# cdf[cdf['cgroup'] == 'top-app']\n",
"# ssdf = sdf[sdf['next_pid'] == 18591]\n",
"# ssdf = ssdf.loc[ssdf.index > 18003.5]\n",
"\n",
"df = ssdf\n",
"df = df.loc[df.index > 317.5]\n",
"df = df.loc[(df['next_pid'] != 0) & (df['prev_pid'] != 0)]\n",
"# df = df.loc[ (pd.isnull(df['prev_schedtune'])) | (pd.isnull(df['prev_cpuset'])) | \\\n",
"# (pd.isnull(df['next_schedtune'])) | (pd.isnull(df['next_cpuset'])) ]\n",
"\n",
"df = df[['prev_pid', 'prev_comm', 'prev_cpuset', 'prev_schedtune']].loc[pd.isnull(df['prev_cpuset'])]\n",
"\n",
"\n",
"forkdf = tr.data_frame.trace_event('sched_process_fork')\n",
"forkdf = forkdf.loc[forkdf.index > 317.5]\n",
" \n",
"cdf = tr.data_frame.cgroup_attach_task()\n",
"cdf = cdf.loc[cdf.index > 317.5]\n",
"\n",
"print ''\n",
"print 'original fork df:'\n",
"print forkdf.head(20)[['pid', 'child_pid']]\n",
"print ''\n",
"\n",
"print 'combined cgroup df'\n",
"print cdf.head(20)\n",
"print ''\n",
"\n",
"print 'final df with nans'\n",
"print df\n",
"\n",
"# ssdf = ssdf.loc[(ssdf['prev_pid'] == 18591) | (ssdf['next_pid'] == 18591)]\n",
"# print ssdf[['prev_pid', 'prev_comm', 'prev_schedtune', 'prev_cpuset']]\n",
"# print ssdf[['next_pid', 'next_comm', 'next_schedtune', 'next_cpuset']]"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": false,
"scrolled": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2017-07-10 12:36:40,457 INFO : Trace : Couldn't attach all forks cgroup with-attach events (57 dropped)\n"
]
},
{
"data": {
"text/html": [
"<div>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>__comm</th>\n",
" <th>__cpu</th>\n",
" <th>__line</th>\n",
" <th>__pid</th>\n",
" <th>__tgid</th>\n",
" <th>prev_cpuset</th>\n",
" <th>next_comm</th>\n",
" <th>next_cpuset</th>\n",
" <th>next_pid</th>\n",
" <th>next_prio</th>\n",
" <th>next_schedtune</th>\n",
" <th>prev_pid</th>\n",
" <th>prev_comm</th>\n",
" <th>prev_prio</th>\n",
" <th>prev_schedtune</th>\n",
" <th>prev_state</th>\n",
" </tr>\n",
" <tr>\n",
" <th>Time</th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>317.500003</th>\n",
" <td>lowpool[12]</td>\n",
" <td>6.0</td>\n",
" <td>53823</td>\n",
" <td>7897.0</td>\n",
" <td>2467.0</td>\n",
" <td>root</td>\n",
" <td>Binder:1141_1</td>\n",
" <td>foreground</td>\n",
" <td>1152.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>7897.0</td>\n",
" <td>lowpool[12]</td>\n",
" <td>130.0</td>\n",
" <td>foreground</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500011</th>\n",
" <td>.gms.persisten</td>\n",
" <td>7.0</td>\n",
" <td>53824</td>\n",
" <td>2467.0</td>\n",
" <td>2467.0</td>\n",
" <td>root</td>\n",
" <td>Binder:1141_3</td>\n",
" <td>foreground</td>\n",
" <td>1953.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>2467.0</td>\n",
" <td>.gms.persistent</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500040</th>\n",
" <td>lowpool[9]</td>\n",
" <td>2.0</td>\n",
" <td>53826</td>\n",
" <td>5668.0</td>\n",
" <td>2467.0</td>\n",
" <td>root</td>\n",
" <td>Binder:1141_2</td>\n",
" <td>foreground</td>\n",
" <td>1153.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>5668.0</td>\n",
" <td>lowpool[9]</td>\n",
" <td>130.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500088</th>\n",
" <td>Binder:1141_1</td>\n",
" <td>6.0</td>\n",
" <td>53828</td>\n",
" <td>1152.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>lowpool[12]</td>\n",
" <td>root</td>\n",
" <td>7897.0</td>\n",
" <td>130.0</td>\n",
" <td>foreground</td>\n",
" <td>1152.0</td>\n",
" <td>Binder:1141_1</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500099</th>\n",
" <td>Binder:1141_3</td>\n",
" <td>7.0</td>\n",
" <td>53829</td>\n",
" <td>1953.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>FlpThread</td>\n",
" <td>root</td>\n",
" <td>3032.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>1953.0</td>\n",
" <td>Binder:1141_3</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500112</th>\n",
" <td>Binder:1141_7</td>\n",
" <td>0.0</td>\n",
" <td>53831</td>\n",
" <td>2568.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>lmkd</td>\n",
" <td>root</td>\n",
" <td>1021.0</td>\n",
" <td>98.0</td>\n",
" <td>system-background</td>\n",
" <td>2568.0</td>\n",
" <td>Binder:1141_7</td>\n",
" <td>118.0</td>\n",
" <td>foreground</td>\n",
" <td>R+</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500117</th>\n",
" <td>lowpool[16]</td>\n",
" <td>1.0</td>\n",
" <td>53834</td>\n",
" <td>9475.0</td>\n",
" <td>2467.0</td>\n",
" <td>root</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>9475.0</td>\n",
" <td>lowpool[16]</td>\n",
" <td>130.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500194</th>\n",
" <td>FlpThread</td>\n",
" <td>7.0</td>\n",
" <td>53837</td>\n",
" <td>3032.0</td>\n",
" <td>2467.0</td>\n",
" <td>root</td>\n",
" <td>Binder:1141_3</td>\n",
" <td>foreground</td>\n",
" <td>1953.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>3032.0</td>\n",
" <td>FlpThread</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500206</th>\n",
" <td>lmkd</td>\n",
" <td>0.0</td>\n",
" <td>53838</td>\n",
" <td>1021.0</td>\n",
" <td>1021.0</td>\n",
" <td>root</td>\n",
" <td>Binder:1141_7</td>\n",
" <td>foreground</td>\n",
" <td>2568.0</td>\n",
" <td>118.0</td>\n",
" <td>foreground</td>\n",
" <td>1021.0</td>\n",
" <td>lmkd</td>\n",
" <td>98.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500234</th>\n",
" <td>lowpool[12]</td>\n",
" <td>6.0</td>\n",
" <td>53840</td>\n",
" <td>7897.0</td>\n",
" <td>2467.0</td>\n",
" <td>root</td>\n",
" <td>Binder:1141_C</td>\n",
" <td>foreground</td>\n",
" <td>2649.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>7897.0</td>\n",
" <td>CMEventHandler</td>\n",
" <td>130.0</td>\n",
" <td>foreground</td>\n",
" <td>R+</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500254</th>\n",
" <td>Binder:1141_3</td>\n",
" <td>7.0</td>\n",
" <td>53843</td>\n",
" <td>1953.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>FlpThread</td>\n",
" <td>root</td>\n",
" <td>3032.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>1953.0</td>\n",
" <td>Binder:1141_3</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500302</th>\n",
" <td>Binder:1141_7</td>\n",
" <td>0.0</td>\n",
" <td>53844</td>\n",
" <td>2568.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>swapper/0</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>2568.0</td>\n",
" <td>Binder:1141_7</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500317</th>\n",
" <td>FlpThread</td>\n",
" <td>7.0</td>\n",
" <td>53846</td>\n",
" <td>3032.0</td>\n",
" <td>2467.0</td>\n",
" <td>root</td>\n",
" <td>lowpool[17]</td>\n",
" <td>root</td>\n",
" <td>9476.0</td>\n",
" <td>130.0</td>\n",
" <td>foreground</td>\n",
" <td>3032.0</td>\n",
" <td>FlpThread</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500326</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>0.0</td>\n",
" <td>53849</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>Binder:1141_7</td>\n",
" <td>foreground</td>\n",
" <td>2568.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>0.0</td>\n",
" <td>swapper/0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500393</th>\n",
" <td>Binder:1141_2</td>\n",
" <td>2.0</td>\n",
" <td>53854</td>\n",
" <td>1153.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>logd.writer</td>\n",
" <td>background</td>\n",
" <td>835.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>1153.0</td>\n",
" <td>Binder:1141_2</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500394</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>53855</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>PowerManagerSer</td>\n",
" <td>foreground</td>\n",
" <td>1478.0</td>\n",
" <td>116.0</td>\n",
" <td>foreground</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500411</th>\n",
" <td>Binder:1141_7</td>\n",
" <td>0.0</td>\n",
" <td>53857</td>\n",
" <td>2568.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>swapper/0</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>2568.0</td>\n",
" <td>Binder:1141_7</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500420</th>\n",
" <td>Binder:1141_C</td>\n",
" <td>6.0</td>\n",
" <td>53859</td>\n",
" <td>2649.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>Binder:1141_1</td>\n",
" <td>foreground</td>\n",
" <td>1152.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>2649.0</td>\n",
" <td>Binder:1141_C</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500453</th>\n",
" <td>PowerManagerSe</td>\n",
" <td>1.0</td>\n",
" <td>53860</td>\n",
" <td>1478.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>1478.0</td>\n",
" <td>PowerManagerSer</td>\n",
" <td>116.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500487</th>\n",
" <td>Binder:1141_1</td>\n",
" <td>6.0</td>\n",
" <td>53862</td>\n",
" <td>1152.0</td>\n",
" <td>1141.0</td>\n",
" <td>foreground</td>\n",
" <td>CMEventHandler</td>\n",
" <td>root</td>\n",
" <td>7897.0</td>\n",
" <td>130.0</td>\n",
" <td>foreground</td>\n",
" <td>1152.0</td>\n",
" <td>Binder:1141_1</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500496</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>0.0</td>\n",
" <td>53865</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>5681.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>0.0</td>\n",
" <td>swapper/0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500507</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>53868</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>8196.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500513</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>0.0</td>\n",
" <td>53869</td>\n",
" <td>5681.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>swapper/0</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>5681.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500515</th>\n",
" <td>lowpool[12]</td>\n",
" <td>6.0</td>\n",
" <td>53871</td>\n",
" <td>7897.0</td>\n",
" <td>2467.0</td>\n",
" <td>root</td>\n",
" <td>swapper/6</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>7897.0</td>\n",
" <td>CMEventHandler</td>\n",
" <td>130.0</td>\n",
" <td>foreground</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500517</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>1.0</td>\n",
" <td>53872</td>\n",
" <td>8196.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>8196.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500520</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>0.0</td>\n",
" <td>53874</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>5681.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>0.0</td>\n",
" <td>swapper/0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500531</th>\n",
" <td>logd.writer</td>\n",
" <td>2.0</td>\n",
" <td>53880</td>\n",
" <td>835.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>Binder:1141_2</td>\n",
" <td>foreground</td>\n",
" <td>1153.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>835.0</td>\n",
" <td>logd.writer</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500535</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>53882</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>8196.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500569</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>0.0</td>\n",
" <td>53887</td>\n",
" <td>5681.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>Binder:1141_7</td>\n",
" <td>foreground</td>\n",
" <td>2568.0</td>\n",
" <td>120.0</td>\n",
" <td>foreground</td>\n",
" <td>5681.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>317.500573</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>1.0</td>\n",
" <td>53888</td>\n",
" <td>8196.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>logcat</td>\n",
" <td>root</td>\n",
" <td>5679.0</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>8196.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.092909</th>\n",
" <td>atrace</td>\n",
" <td>4.0</td>\n",
" <td>482620</td>\n",
" <td>9906.0</td>\n",
" <td>9906.0</td>\n",
" <td>NaN</td>\n",
" <td>swapper/4</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>9906.0</td>\n",
" <td>atrace</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.092915</th>\n",
" <td>logcat</td>\n",
" <td>1.0</td>\n",
" <td>482622</td>\n",
" <td>8194.0</td>\n",
" <td>8194.0</td>\n",
" <td>root</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>8196.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>8194.0</td>\n",
" <td>logcat</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.092928</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>1.0</td>\n",
" <td>482625</td>\n",
" <td>8196.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>8196.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.092937</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>482627</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>8196.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.092990</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>1.0</td>\n",
" <td>482629</td>\n",
" <td>8196.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>logcat</td>\n",
" <td>root</td>\n",
" <td>8194.0</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>8196.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093017</th>\n",
" <td>logcat</td>\n",
" <td>1.0</td>\n",
" <td>482631</td>\n",
" <td>8194.0</td>\n",
" <td>8194.0</td>\n",
" <td>root</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>8196.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>8194.0</td>\n",
" <td>logcat</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093040</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>1.0</td>\n",
" <td>482635</td>\n",
" <td>8196.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>logcat</td>\n",
" <td>root</td>\n",
" <td>8194.0</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>8196.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093054</th>\n",
" <td>logcat</td>\n",
" <td>1.0</td>\n",
" <td>482637</td>\n",
" <td>8194.0</td>\n",
" <td>8194.0</td>\n",
" <td>root</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>8196.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>8194.0</td>\n",
" <td>logcat</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093061</th>\n",
" <td>logd.writer</td>\n",
" <td>2.0</td>\n",
" <td>482638</td>\n",
" <td>835.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>9688.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>835.0</td>\n",
" <td>logd.writer</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093069</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>1.0</td>\n",
" <td>482640</td>\n",
" <td>8196.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>8196.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093087</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>482644</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logcat</td>\n",
" <td>root</td>\n",
" <td>9685.0</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093098</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>2.0</td>\n",
" <td>482645</td>\n",
" <td>9688.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>logd.writer</td>\n",
" <td>background</td>\n",
" <td>835.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>9688.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093109</th>\n",
" <td>logcat</td>\n",
" <td>1.0</td>\n",
" <td>482646</td>\n",
" <td>9685.0</td>\n",
" <td>9685.0</td>\n",
" <td>root</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>9685.0</td>\n",
" <td>logcat</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093134</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>482651</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>8196.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093143</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>7.0</td>\n",
" <td>482655</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>atrace</td>\n",
" <td>NaN</td>\n",
" <td>9906.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>swapper/7</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093143</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>1.0</td>\n",
" <td>482656</td>\n",
" <td>8196.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>8196.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093145</th>\n",
" <td>hwservicemanag</td>\n",
" <td>3.0</td>\n",
" <td>482657</td>\n",
" <td>825.0</td>\n",
" <td>825.0</td>\n",
" <td>root</td>\n",
" <td>sugov:0</td>\n",
" <td>root</td>\n",
" <td>820.0</td>\n",
" <td>49.0</td>\n",
" <td>root</td>\n",
" <td>825.0</td>\n",
" <td>hwservicemanage</td>\n",
" <td>120.0</td>\n",
" <td>system-background</td>\n",
" <td>R+</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093151</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>482659</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>8196.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093179</th>\n",
" <td>sugov:0</td>\n",
" <td>3.0</td>\n",
" <td>482666</td>\n",
" <td>820.0</td>\n",
" <td>820.0</td>\n",
" <td>root</td>\n",
" <td>hwservicemanage</td>\n",
" <td>root</td>\n",
" <td>825.0</td>\n",
" <td>120.0</td>\n",
" <td>system-background</td>\n",
" <td>820.0</td>\n",
" <td>sugov:0</td>\n",
" <td>49.0</td>\n",
" <td>root</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093186</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>1.0</td>\n",
" <td>482667</td>\n",
" <td>8196.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>logcat</td>\n",
" <td>root</td>\n",
" <td>8194.0</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>8196.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093188</th>\n",
" <td>logd.writer</td>\n",
" <td>2.0</td>\n",
" <td>482668</td>\n",
" <td>835.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>9688.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>835.0</td>\n",
" <td>logd.writer</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093201</th>\n",
" <td>logcat</td>\n",
" <td>1.0</td>\n",
" <td>482669</td>\n",
" <td>8194.0</td>\n",
" <td>8194.0</td>\n",
" <td>root</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>8194.0</td>\n",
" <td>logcat</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093210</th>\n",
" <td>hwservicemanag</td>\n",
" <td>3.0</td>\n",
" <td>482671</td>\n",
" <td>825.0</td>\n",
" <td>825.0</td>\n",
" <td>root</td>\n",
" <td>logd.reader.per</td>\n",
" <td>background</td>\n",
" <td>5681.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>825.0</td>\n",
" <td>hwservicemanage</td>\n",
" <td>120.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093210</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>482672</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logcat</td>\n",
" <td>root</td>\n",
" <td>9685.0</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093223</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>2.0</td>\n",
" <td>482673</td>\n",
" <td>9688.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>swapper/2</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>9688.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093226</th>\n",
" <td>logcat</td>\n",
" <td>1.0</td>\n",
" <td>482674</td>\n",
" <td>9685.0</td>\n",
" <td>9685.0</td>\n",
" <td>root</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>9685.0</td>\n",
" <td>logcat</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093246</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>482679</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logcat</td>\n",
" <td>root</td>\n",
" <td>5679.0</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093270</th>\n",
" <td>logd.reader.pe</td>\n",
" <td>3.0</td>\n",
" <td>482680</td>\n",
" <td>5681.0</td>\n",
" <td>827.0</td>\n",
" <td>background</td>\n",
" <td>swapper/3</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>5681.0</td>\n",
" <td>logd.reader.per</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.093277</th>\n",
" <td>logcat</td>\n",
" <td>1.0</td>\n",
" <td>482681</td>\n",
" <td>5679.0</td>\n",
" <td>5679.0</td>\n",
" <td>root</td>\n",
" <td>swapper/1</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>5679.0</td>\n",
" <td>logcat</td>\n",
" <td>120.0</td>\n",
" <td>root</td>\n",
" <td>S</td>\n",
" </tr>\n",
" <tr>\n",
" <th>338.096261</th>\n",
" <td>&lt;idle&gt;</td>\n",
" <td>1.0</td>\n",
" <td>482702</td>\n",
" <td>0.0</td>\n",
" <td>-1.0</td>\n",
" <td>NaN</td>\n",
" <td>logd.writer</td>\n",
" <td>background</td>\n",
" <td>835.0</td>\n",
" <td>130.0</td>\n",
" <td>system-background</td>\n",
" <td>0.0</td>\n",
" <td>swapper/1</td>\n",
" <td>120.0</td>\n",
" <td>NaN</td>\n",
" <td>R</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>106922 rows × 16 columns</p>\n",
"</div>"
],
"text/plain": [
" __comm __cpu __line __pid __tgid prev_cpuset \\\n",
"Time \n",
"317.500003 lowpool[12] 6.0 53823 7897.0 2467.0 root \n",
"317.500011 .gms.persisten 7.0 53824 2467.0 2467.0 root \n",
"317.500040 lowpool[9] 2.0 53826 5668.0 2467.0 root \n",
"317.500088 Binder:1141_1 6.0 53828 1152.0 1141.0 foreground \n",
"317.500099 Binder:1141_3 7.0 53829 1953.0 1141.0 foreground \n",
"317.500112 Binder:1141_7 0.0 53831 2568.0 1141.0 foreground \n",
"317.500117 lowpool[16] 1.0 53834 9475.0 2467.0 root \n",
"317.500194 FlpThread 7.0 53837 3032.0 2467.0 root \n",
"317.500206 lmkd 0.0 53838 1021.0 1021.0 root \n",
"317.500234 lowpool[12] 6.0 53840 7897.0 2467.0 root \n",
"317.500254 Binder:1141_3 7.0 53843 1953.0 1141.0 foreground \n",
"317.500302 Binder:1141_7 0.0 53844 2568.0 1141.0 foreground \n",
"317.500317 FlpThread 7.0 53846 3032.0 2467.0 root \n",
"317.500326 <idle> 0.0 53849 0.0 -1.0 NaN \n",
"317.500393 Binder:1141_2 2.0 53854 1153.0 1141.0 foreground \n",
"317.500394 <idle> 1.0 53855 0.0 -1.0 NaN \n",
"317.500411 Binder:1141_7 0.0 53857 2568.0 1141.0 foreground \n",
"317.500420 Binder:1141_C 6.0 53859 2649.0 1141.0 foreground \n",
"317.500453 PowerManagerSe 1.0 53860 1478.0 1141.0 foreground \n",
"317.500487 Binder:1141_1 6.0 53862 1152.0 1141.0 foreground \n",
"317.500496 <idle> 0.0 53865 0.0 -1.0 NaN \n",
"317.500507 <idle> 1.0 53868 0.0 -1.0 NaN \n",
"317.500513 logd.reader.pe 0.0 53869 5681.0 827.0 background \n",
"317.500515 lowpool[12] 6.0 53871 7897.0 2467.0 root \n",
"317.500517 logd.reader.pe 1.0 53872 8196.0 827.0 background \n",
"317.500520 <idle> 0.0 53874 0.0 -1.0 NaN \n",
"317.500531 logd.writer 2.0 53880 835.0 827.0 background \n",
"317.500535 <idle> 1.0 53882 0.0 -1.0 NaN \n",
"317.500569 logd.reader.pe 0.0 53887 5681.0 827.0 background \n",
"317.500573 logd.reader.pe 1.0 53888 8196.0 827.0 background \n",
"... ... ... ... ... ... ... \n",
"338.092909 atrace 4.0 482620 9906.0 9906.0 NaN \n",
"338.092915 logcat 1.0 482622 8194.0 8194.0 root \n",
"338.092928 logd.reader.pe 1.0 482625 8196.0 827.0 background \n",
"338.092937 <idle> 1.0 482627 0.0 -1.0 NaN \n",
"338.092990 logd.reader.pe 1.0 482629 8196.0 827.0 background \n",
"338.093017 logcat 1.0 482631 8194.0 8194.0 root \n",
"338.093040 logd.reader.pe 1.0 482635 8196.0 827.0 background \n",
"338.093054 logcat 1.0 482637 8194.0 8194.0 root \n",
"338.093061 logd.writer 2.0 482638 835.0 827.0 background \n",
"338.093069 logd.reader.pe 1.0 482640 8196.0 827.0 background \n",
"338.093087 <idle> 1.0 482644 0.0 -1.0 NaN \n",
"338.093098 logd.reader.pe 2.0 482645 9688.0 827.0 background \n",
"338.093109 logcat 1.0 482646 9685.0 9685.0 root \n",
"338.093134 <idle> 1.0 482651 0.0 -1.0 NaN \n",
"338.093143 <idle> 7.0 482655 0.0 -1.0 NaN \n",
"338.093143 logd.reader.pe 1.0 482656 8196.0 827.0 background \n",
"338.093145 hwservicemanag 3.0 482657 825.0 825.0 root \n",
"338.093151 <idle> 1.0 482659 0.0 -1.0 NaN \n",
"338.093179 sugov:0 3.0 482666 820.0 820.0 root \n",
"338.093186 logd.reader.pe 1.0 482667 8196.0 827.0 background \n",
"338.093188 logd.writer 2.0 482668 835.0 827.0 background \n",
"338.093201 logcat 1.0 482669 8194.0 8194.0 root \n",
"338.093210 hwservicemanag 3.0 482671 825.0 825.0 root \n",
"338.093210 <idle> 1.0 482672 0.0 -1.0 NaN \n",
"338.093223 logd.reader.pe 2.0 482673 9688.0 827.0 background \n",
"338.093226 logcat 1.0 482674 9685.0 9685.0 root \n",
"338.093246 <idle> 1.0 482679 0.0 -1.0 NaN \n",
"338.093270 logd.reader.pe 3.0 482680 5681.0 827.0 background \n",
"338.093277 logcat 1.0 482681 5679.0 5679.0 root \n",
"338.096261 <idle> 1.0 482702 0.0 -1.0 NaN \n",
"\n",
" next_comm next_cpuset next_pid next_prio \\\n",
"Time \n",
"317.500003 Binder:1141_1 foreground 1152.0 120.0 \n",
"317.500011 Binder:1141_3 foreground 1953.0 120.0 \n",
"317.500040 Binder:1141_2 foreground 1153.0 120.0 \n",
"317.500088 lowpool[12] root 7897.0 130.0 \n",
"317.500099 FlpThread root 3032.0 120.0 \n",
"317.500112 lmkd root 1021.0 98.0 \n",
"317.500117 swapper/1 NaN 0.0 120.0 \n",
"317.500194 Binder:1141_3 foreground 1953.0 120.0 \n",
"317.500206 Binder:1141_7 foreground 2568.0 118.0 \n",
"317.500234 Binder:1141_C foreground 2649.0 120.0 \n",
"317.500254 FlpThread root 3032.0 120.0 \n",
"317.500302 swapper/0 NaN 0.0 120.0 \n",
"317.500317 lowpool[17] root 9476.0 130.0 \n",
"317.500326 Binder:1141_7 foreground 2568.0 120.0 \n",
"317.500393 logd.writer background 835.0 130.0 \n",
"317.500394 PowerManagerSer foreground 1478.0 116.0 \n",
"317.500411 swapper/0 NaN 0.0 120.0 \n",
"317.500420 Binder:1141_1 foreground 1152.0 120.0 \n",
"317.500453 swapper/1 NaN 0.0 120.0 \n",
"317.500487 CMEventHandler root 7897.0 130.0 \n",
"317.500496 logd.reader.per background 5681.0 130.0 \n",
"317.500507 logd.reader.per background 8196.0 130.0 \n",
"317.500513 swapper/0 NaN 0.0 120.0 \n",
"317.500515 swapper/6 NaN 0.0 120.0 \n",
"317.500517 swapper/1 NaN 0.0 120.0 \n",
"317.500520 logd.reader.per background 5681.0 130.0 \n",
"317.500531 Binder:1141_2 foreground 1153.0 120.0 \n",
"317.500535 logd.reader.per background 8196.0 130.0 \n",
"317.500569 Binder:1141_7 foreground 2568.0 120.0 \n",
"317.500573 logcat root 5679.0 120.0 \n",
"... ... ... ... ... \n",
"338.092909 swapper/4 NaN 0.0 120.0 \n",
"338.092915 logd.reader.per background 8196.0 130.0 \n",
"338.092928 swapper/1 NaN 0.0 120.0 \n",
"338.092937 logd.reader.per background 8196.0 130.0 \n",
"338.092990 logcat root 8194.0 120.0 \n",
"338.093017 logd.reader.per background 8196.0 130.0 \n",
"338.093040 logcat root 8194.0 120.0 \n",
"338.093054 logd.reader.per background 8196.0 130.0 \n",
"338.093061 logd.reader.per background 9688.0 130.0 \n",
"338.093069 swapper/1 NaN 0.0 120.0 \n",
"338.093087 logcat root 9685.0 120.0 \n",
"338.093098 logd.writer background 835.0 130.0 \n",
"338.093109 swapper/1 NaN 0.0 120.0 \n",
"338.093134 logd.reader.per background 8196.0 130.0 \n",
"338.093143 atrace NaN 9906.0 120.0 \n",
"338.093143 swapper/1 NaN 0.0 120.0 \n",
"338.093145 sugov:0 root 820.0 49.0 \n",
"338.093151 logd.reader.per background 8196.0 130.0 \n",
"338.093179 hwservicemanage root 825.0 120.0 \n",
"338.093186 logcat root 8194.0 120.0 \n",
"338.093188 logd.reader.per background 9688.0 130.0 \n",
"338.093201 swapper/1 NaN 0.0 120.0 \n",
"338.093210 logd.reader.per background 5681.0 130.0 \n",
"338.093210 logcat root 9685.0 120.0 \n",
"338.093223 swapper/2 NaN 0.0 120.0 \n",
"338.093226 swapper/1 NaN 0.0 120.0 \n",
"338.093246 logcat root 5679.0 120.0 \n",
"338.093270 swapper/3 NaN 0.0 120.0 \n",
"338.093277 swapper/1 NaN 0.0 120.0 \n",
"338.096261 logd.writer background 835.0 130.0 \n",
"\n",
" next_schedtune prev_pid prev_comm prev_prio \\\n",
"Time \n",
"317.500003 foreground 7897.0 lowpool[12] 130.0 \n",
"317.500011 foreground 2467.0 .gms.persistent 120.0 \n",
"317.500040 foreground 5668.0 lowpool[9] 130.0 \n",
"317.500088 foreground 1152.0 Binder:1141_1 120.0 \n",
"317.500099 foreground 1953.0 Binder:1141_3 120.0 \n",
"317.500112 system-background 2568.0 Binder:1141_7 118.0 \n",
"317.500117 NaN 9475.0 lowpool[16] 130.0 \n",
"317.500194 foreground 3032.0 FlpThread 120.0 \n",
"317.500206 foreground 1021.0 lmkd 98.0 \n",
"317.500234 foreground 7897.0 CMEventHandler 130.0 \n",
"317.500254 foreground 1953.0 Binder:1141_3 120.0 \n",
"317.500302 NaN 2568.0 Binder:1141_7 120.0 \n",
"317.500317 foreground 3032.0 FlpThread 120.0 \n",
"317.500326 foreground 0.0 swapper/0 120.0 \n",
"317.500393 system-background 1153.0 Binder:1141_2 120.0 \n",
"317.500394 foreground 0.0 swapper/1 120.0 \n",
"317.500411 NaN 2568.0 Binder:1141_7 120.0 \n",
"317.500420 foreground 2649.0 Binder:1141_C 120.0 \n",
"317.500453 NaN 1478.0 PowerManagerSer 116.0 \n",
"317.500487 foreground 1152.0 Binder:1141_1 120.0 \n",
"317.500496 system-background 0.0 swapper/0 120.0 \n",
"317.500507 system-background 0.0 swapper/1 120.0 \n",
"317.500513 NaN 5681.0 logd.reader.per 130.0 \n",
"317.500515 NaN 7897.0 CMEventHandler 130.0 \n",
"317.500517 NaN 8196.0 logd.reader.per 130.0 \n",
"317.500520 system-background 0.0 swapper/0 120.0 \n",
"317.500531 foreground 835.0 logd.writer 130.0 \n",
"317.500535 system-background 0.0 swapper/1 120.0 \n",
"317.500569 foreground 5681.0 logd.reader.per 130.0 \n",
"317.500573 root 8196.0 logd.reader.per 130.0 \n",
"... ... ... ... ... \n",
"338.092909 NaN 9906.0 atrace 120.0 \n",
"338.092915 system-background 8194.0 logcat 120.0 \n",
"338.092928 NaN 8196.0 logd.reader.per 130.0 \n",
"338.092937 system-background 0.0 swapper/1 120.0 \n",
"338.092990 root 8196.0 logd.reader.per 130.0 \n",
"338.093017 system-background 8194.0 logcat 120.0 \n",
"338.093040 root 8196.0 logd.reader.per 130.0 \n",
"338.093054 system-background 8194.0 logcat 120.0 \n",
"338.093061 system-background 835.0 logd.writer 130.0 \n",
"338.093069 NaN 8196.0 logd.reader.per 130.0 \n",
"338.093087 root 0.0 swapper/1 120.0 \n",
"338.093098 system-background 9688.0 logd.reader.per 130.0 \n",
"338.093109 NaN 9685.0 logcat 120.0 \n",
"338.093134 system-background 0.0 swapper/1 120.0 \n",
"338.093143 NaN 0.0 swapper/7 120.0 \n",
"338.093143 NaN 8196.0 logd.reader.per 130.0 \n",
"338.093145 root 825.0 hwservicemanage 120.0 \n",
"338.093151 system-background 0.0 swapper/1 120.0 \n",
"338.093179 system-background 820.0 sugov:0 49.0 \n",
"338.093186 root 8196.0 logd.reader.per 130.0 \n",
"338.093188 system-background 835.0 logd.writer 130.0 \n",
"338.093201 NaN 8194.0 logcat 120.0 \n",
"338.093210 system-background 825.0 hwservicemanage 120.0 \n",
"338.093210 root 0.0 swapper/1 120.0 \n",
"338.093223 NaN 9688.0 logd.reader.per 130.0 \n",
"338.093226 NaN 9685.0 logcat 120.0 \n",
"338.093246 root 0.0 swapper/1 120.0 \n",
"338.093270 NaN 5681.0 logd.reader.per 130.0 \n",
"338.093277 NaN 5679.0 logcat 120.0 \n",
"338.096261 system-background 0.0 swapper/1 120.0 \n",
"\n",
" prev_schedtune prev_state \n",
"Time \n",
"317.500003 foreground R \n",
"317.500011 foreground S \n",
"317.500040 foreground S \n",
"317.500088 foreground S \n",
"317.500099 foreground S \n",
"317.500112 foreground R+ \n",
"317.500117 foreground S \n",
"317.500194 foreground S \n",
"317.500206 system-background S \n",
"317.500234 foreground R+ \n",
"317.500254 foreground S \n",
"317.500302 foreground S \n",
"317.500317 foreground S \n",
"317.500326 NaN R \n",
"317.500393 foreground S \n",
"317.500394 NaN R \n",
"317.500411 foreground S \n",
"317.500420 foreground S \n",
"317.500453 foreground S \n",
"317.500487 foreground S \n",
"317.500496 NaN R \n",
"317.500507 NaN R \n",
"317.500513 system-background S \n",
"317.500515 foreground S \n",
"317.500517 system-background S \n",
"317.500520 NaN R \n",
"317.500531 system-background S \n",
"317.500535 NaN R \n",
"317.500569 system-background S \n",
"317.500573 system-background S \n",
"... ... ... \n",
"338.092909 NaN S \n",
"338.092915 root S \n",
"338.092928 system-background S \n",
"338.092937 NaN R \n",
"338.092990 system-background S \n",
"338.093017 root S \n",
"338.093040 system-background S \n",
"338.093054 root S \n",
"338.093061 system-background S \n",
"338.093069 system-background S \n",
"338.093087 NaN R \n",
"338.093098 system-background S \n",
"338.093109 root S \n",
"338.093134 NaN R \n",
"338.093143 NaN R \n",
"338.093143 system-background S \n",
"338.093145 system-background R+ \n",
"338.093151 NaN R \n",
"338.093179 root S \n",
"338.093186 system-background S \n",
"338.093188 system-background S \n",
"338.093201 root S \n",
"338.093210 system-background S \n",
"338.093210 NaN R \n",
"338.093223 system-background S \n",
"338.093226 root S \n",
"338.093246 NaN R \n",
"338.093270 system-background S \n",
"338.093277 root S \n",
"338.096261 NaN R \n",
"\n",
"[106922 rows x 16 columns]"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# df = ssdf.loc[ssdf.index > 317.5]\n",
"\n",
"df = tr.data_frame.sched_switch_cgroup()\n",
"df.loc[df.index > 317.5]"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"language": "python",
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.13"
}
},
"nbformat": 4,
"nbformat_minor": 2
}