• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2 "cells": [
3  {
4   "cell_type": "code",
5   "execution_count": 1,
6   "metadata": {
7    "collapsed": false
8   },
9   "outputs": [
10    {
11     "name": "stderr",
12     "output_type": "stream",
13     "text": [
14      "2017-07-10 12:26:40,568 INFO    : root         : Using LISA logging configuration:\n",
15      "2017-07-10 12:26:40,570 INFO    : root         :   /home/joelaf/repo/lisa-aosp/external/lisa/logging.conf\n",
16      "2017-07-10 12:26:40,571 INFO    : root         : #### Setup FTrace\n"
17     ]
18    }
19   ],
20   "source": [
21    "#!/usr/bin/env python\n",
22    "\n",
23    "import trappy\n",
24    "from trace import Trace\n",
25    "import itertools\n",
26    "import logging\n",
27    "import pandas as pd\n",
28    "import numpy as np\n",
29    "import os\n",
30    "\n",
31    "from conf import LisaLogging\n",
32    "LisaLogging.setup()\n",
33    "logging.info('#### Setup FTrace')\n",
34    "# path_to_html = \"/home/joelaf/repo/lisa-aosp/external/lisa/results/UiBench_default/trace.html\"\n",
35    "path_to_html = \"/home/joelaf/repo/lisa-aosp/external/lisa/ipynb/residency/trace-residency.html\""
36   ]
37  },
38  {
39   "cell_type": "code",
40   "execution_count": 2,
41   "metadata": {
42    "collapsed": false,
43    "scrolled": false
44   },
45   "outputs": [
46    {
47     "name": "stderr",
48     "output_type": "stream",
49     "text": [
50      "/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",
51      "  window=window, normalize_time=normalize_time)\n",
52      "/home/joelaf/repo/lisa-aosp/external/trappy/trappy/utils.py:154: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)\n",
53      "  df = pd.concat([pr_df, sec_df], keys=['primary', 'secondary']).sort(columns='__line')\n",
54      "/home/joelaf/repo/lisa-aosp/external/lisa/libs/utils/trace.py:574: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)\n",
55      "  fdf = pd.concat([fdf, forkdf]).sort(columns='__line')\n",
56      "/home/joelaf/repo/lisa-aosp/external/lisa/libs/utils/trace.py:584: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)\n",
57      "  fdf = pd.concat([fdf, cdf]).sort(columns='__line')\n",
58      "2017-07-10 12:26:44,985 INFO    : Trace        : Couldn't attach all forks cgroup with-attach events (57 dropped)\n",
59      "2017-07-10 12:26:45,097 INFO    : Trace        : Couldn't attach all forks cgroup with-attach events (57 dropped)\n"
60     ]
61    }
62   ],
63   "source": [
64    "tr = Trace(None, path_to_html,\n",
65    "           cgroup_info = { \n",
66    "               'cgroups': ['foreground', 'background', 'system-background', 'top-app', 'rt'],\n",
67    "               'controller_ids': { 2: 'cpuset', 4: 'schedtune' }\n",
68    "           },\n",
69    "           events=[ 'sched_switch', 'cgroup_attach_task_devlib', 'cgroup_attach_task', 'sched_process_fork' ],\n",
70    "        normalize_time=False)\n",
71    "\n",
72    "# tr.data_frame.trace_event('cgroup_attach_task_devlib')\n",
73    "# len(tr.data_frame.trace_event('cgroup_attach_task_devlib').groupby(level=0).filter(lambda x: len(x) > 1))\n",
74    "cdf = tr.data_frame.cgroup_attach_task()\n",
75    "\n",
76    "ssdf = tr.data_frame.sched_switch_cgroup()"
77   ]
78  },
79  {
80   "cell_type": "code",
81   "execution_count": 3,
82   "metadata": {
83    "collapsed": false,
84    "scrolled": false
85   },
86   "outputs": [
87    {
88     "name": "stderr",
89     "output_type": "stream",
90     "text": [
91      "2017-07-10 12:27:04,224 INFO    : Trace        : Couldn't attach all forks cgroup with-attach events (57 dropped)\n"
92     ]
93    },
94    {
95     "name": "stdout",
96     "output_type": "stream",
97     "text": [
98      "\n",
99      "original fork df:\n",
100      "             pid  child_pid\n",
101      "Time                       \n",
102      "317.512955  2467       9883\n",
103      "324.385811  1086       9884\n",
104      "325.493887  9696       9885\n",
105      "325.494522  9695       9886\n",
106      "325.495726  9696       9887\n",
107      "325.496083  9696       9888\n",
108      "325.496302  9696       9889\n",
109      "325.516582  9885       9890\n",
110      "325.518904  1152       9891\n",
111      "326.379281  8569       9892\n",
112      "326.822364  1042       9893\n",
113      "331.001721     2       9894\n",
114      "336.826480  1042       9895\n",
115      "337.580295  1166       9896\n",
116      "337.587107  1166       9897\n",
117      "337.605980  9896       9898\n",
118      "337.650938  1166       9899\n",
119      "337.657055  1166       9900\n",
120      "337.670824  9899       9901\n",
121      "337.672171  9901       9902\n",
122      "\n",
123      "combined cgroup df\n",
124      "            __line     pid controller      cgroup\n",
125      "Time                                             \n",
126      "317.512955   54833  9883.0  schedtune  foreground\n",
127      "317.512955   54833  9883.0     cpuset        root\n",
128      "321.554727  136229  1481.0     cpuset  foreground\n",
129      "321.581165  136824  1481.0     cpuset  background\n",
130      "321.581535  136828  1481.0     cpuset  background\n",
131      "324.385811  189791  9884.0     cpuset        root\n",
132      "324.385811  189791  9884.0  schedtune        root\n",
133      "325.493887  211051  9885.0  schedtune        root\n",
134      "325.493887  211051  9885.0     cpuset        root\n",
135      "325.494522  211075  9886.0     cpuset        root\n",
136      "325.494522  211075  9886.0  schedtune        root\n",
137      "325.495726  211124  9887.0     cpuset        root\n",
138      "325.495726  211124  9887.0  schedtune        root\n",
139      "325.496083  211128  9888.0  schedtune        root\n",
140      "325.496083  211128  9888.0     cpuset        root\n",
141      "325.496302  211133  9889.0     cpuset        root\n",
142      "325.496302  211133  9889.0  schedtune        root\n",
143      "325.518904  211673  9891.0     cpuset  foreground\n",
144      "325.518904  211673  9891.0  schedtune  foreground\n",
145      "326.379281  228702  9892.0     cpuset        root\n",
146      "\n",
147      "final df with nans\n",
148      "            prev_pid prev_comm prev_cpuset prev_schedtune\n",
149      "Time                                                     \n",
150      "325.517052    9890.0   dumpsys         NaN            NaN\n",
151      "325.518990    9890.0   dumpsys         NaN            NaN\n",
152      "325.520947    9890.0   dumpsys         NaN            NaN\n",
153      "337.607810    9898.0        sh         NaN            NaN\n",
154      "337.683382    9902.0        ps         NaN            NaN\n",
155      "337.690561    9902.0        ps         NaN            NaN\n",
156      "337.691216    9902.0        ps         NaN            NaN\n",
157      "337.691269    9902.0        ps         NaN            NaN\n",
158      "337.691489    9902.0        ps         NaN            NaN\n",
159      "337.691699    9902.0        ps         NaN            NaN\n",
160      "337.691904    9902.0        ps         NaN            NaN\n",
161      "337.692047    9902.0        ps         NaN            NaN\n",
162      "337.692177    9902.0        ps         NaN            NaN\n",
163      "337.692385    9902.0        ps         NaN            NaN\n",
164      "337.692587    9902.0        ps         NaN            NaN\n",
165      "337.692789    9902.0        ps         NaN            NaN\n",
166      "337.692992    9902.0        ps         NaN            NaN\n",
167      "337.693192    9902.0        ps         NaN            NaN\n",
168      "337.693424    9902.0        ps         NaN            NaN\n",
169      "337.693630    9902.0        ps         NaN            NaN\n",
170      "337.693856    9902.0        ps         NaN            NaN\n",
171      "337.694058    9902.0        ps         NaN            NaN\n",
172      "337.694261    9902.0        ps         NaN            NaN\n",
173      "337.694459    9902.0        ps         NaN            NaN\n",
174      "337.694657    9902.0        ps         NaN            NaN\n",
175      "337.694858    9902.0        ps         NaN            NaN\n",
176      "337.695055    9902.0        ps         NaN            NaN\n",
177      "337.695256    9902.0        ps         NaN            NaN\n",
178      "337.695452    9902.0        ps         NaN            NaN\n",
179      "337.695658    9902.0        ps         NaN            NaN\n",
180      "...              ...       ...         ...            ...\n",
181      "338.065218    9906.0    atrace         NaN            NaN\n",
182      "338.065356    9906.0    atrace         NaN            NaN\n",
183      "338.065474    9906.0    atrace         NaN            NaN\n",
184      "338.065639    9906.0    atrace         NaN            NaN\n",
185      "338.065754    9906.0    atrace         NaN            NaN\n",
186      "338.065933    9906.0    atrace         NaN            NaN\n",
187      "338.066066    9906.0    atrace         NaN            NaN\n",
188      "338.066181    9906.0    atrace         NaN            NaN\n",
189      "338.066322    9906.0    atrace         NaN            NaN\n",
190      "338.066730    9906.0    atrace         NaN            NaN\n",
191      "338.067677    9906.0    atrace         NaN            NaN\n",
192      "338.067789    9906.0    atrace         NaN            NaN\n",
193      "338.067898    9906.0    atrace         NaN            NaN\n",
194      "338.068035    9906.0    atrace         NaN            NaN\n",
195      "338.068341    9906.0    atrace         NaN            NaN\n",
196      "338.068445    9906.0    atrace         NaN            NaN\n",
197      "338.068556    9906.0    atrace         NaN            NaN\n",
198      "338.068803    9906.0    atrace         NaN            NaN\n",
199      "338.068998    9906.0    atrace         NaN            NaN\n",
200      "338.069178    9906.0    atrace         NaN            NaN\n",
201      "338.069925    9906.0    atrace         NaN            NaN\n",
202      "338.070110    9906.0    atrace         NaN            NaN\n",
203      "338.070611    9906.0    atrace         NaN            NaN\n",
204      "338.070946    9906.0    atrace         NaN            NaN\n",
205      "338.073095    9906.0    atrace         NaN            NaN\n",
206      "338.076322    9906.0    atrace         NaN            NaN\n",
207      "338.079205    9906.0    atrace         NaN            NaN\n",
208      "338.080596    9906.0    atrace         NaN            NaN\n",
209      "338.084856    9906.0    atrace         NaN            NaN\n",
210      "338.085699    9906.0    atrace         NaN            NaN\n",
211      "\n",
212      "[1098 rows x 4 columns]\n"
213     ]
214    }
215   ],
216   "source": [
217    "# build schedtune group information\n",
218    "\n",
219    "# cdf[cdf['cgroup'] == 'top-app']\n",
220    "# ssdf = sdf[sdf['next_pid'] == 18591]\n",
221    "# ssdf = ssdf.loc[ssdf.index > 18003.5]\n",
222    "\n",
223    "df = ssdf\n",
224    "df = df.loc[df.index > 317.5]\n",
225    "df = df.loc[(df['next_pid'] != 0) & (df['prev_pid'] != 0)]\n",
226    "# df = df.loc[ (pd.isnull(df['prev_schedtune'])) | (pd.isnull(df['prev_cpuset'])) | \\\n",
227    "#              (pd.isnull(df['next_schedtune'])) | (pd.isnull(df['next_cpuset'])) ]\n",
228    "\n",
229    "df = df[['prev_pid', 'prev_comm', 'prev_cpuset', 'prev_schedtune']].loc[pd.isnull(df['prev_cpuset'])]\n",
230    "\n",
231    "\n",
232    "forkdf = tr.data_frame.trace_event('sched_process_fork')\n",
233    "forkdf = forkdf.loc[forkdf.index > 317.5]\n",
234    " \n",
235    "cdf = tr.data_frame.cgroup_attach_task()\n",
236    "cdf = cdf.loc[cdf.index > 317.5]\n",
237    "\n",
238    "print ''\n",
239    "print 'original fork df:'\n",
240    "print forkdf.head(20)[['pid', 'child_pid']]\n",
241    "print ''\n",
242    "\n",
243    "print 'combined cgroup df'\n",
244    "print cdf.head(20)\n",
245    "print ''\n",
246    "\n",
247    "print 'final df with nans'\n",
248    "print df\n",
249    "\n",
250    "# ssdf = ssdf.loc[(ssdf['prev_pid'] == 18591) | (ssdf['next_pid'] == 18591)]\n",
251    "# print ssdf[['prev_pid', 'prev_comm', 'prev_schedtune', 'prev_cpuset']]\n",
252    "# print ssdf[['next_pid', 'next_comm', 'next_schedtune', 'next_cpuset']]"
253   ]
254  },
255  {
256   "cell_type": "code",
257   "execution_count": 7,
258   "metadata": {
259    "collapsed": false,
260    "scrolled": false
261   },
262   "outputs": [
263    {
264     "name": "stderr",
265     "output_type": "stream",
266     "text": [
267      "2017-07-10 12:36:40,457 INFO    : Trace        : Couldn't attach all forks cgroup with-attach events (57 dropped)\n"
268     ]
269    },
270    {
271     "data": {
272      "text/html": [
273       "<div>\n",
274       "<table border=\"1\" class=\"dataframe\">\n",
275       "  <thead>\n",
276       "    <tr style=\"text-align: right;\">\n",
277       "      <th></th>\n",
278       "      <th>__comm</th>\n",
279       "      <th>__cpu</th>\n",
280       "      <th>__line</th>\n",
281       "      <th>__pid</th>\n",
282       "      <th>__tgid</th>\n",
283       "      <th>prev_cpuset</th>\n",
284       "      <th>next_comm</th>\n",
285       "      <th>next_cpuset</th>\n",
286       "      <th>next_pid</th>\n",
287       "      <th>next_prio</th>\n",
288       "      <th>next_schedtune</th>\n",
289       "      <th>prev_pid</th>\n",
290       "      <th>prev_comm</th>\n",
291       "      <th>prev_prio</th>\n",
292       "      <th>prev_schedtune</th>\n",
293       "      <th>prev_state</th>\n",
294       "    </tr>\n",
295       "    <tr>\n",
296       "      <th>Time</th>\n",
297       "      <th></th>\n",
298       "      <th></th>\n",
299       "      <th></th>\n",
300       "      <th></th>\n",
301       "      <th></th>\n",
302       "      <th></th>\n",
303       "      <th></th>\n",
304       "      <th></th>\n",
305       "      <th></th>\n",
306       "      <th></th>\n",
307       "      <th></th>\n",
308       "      <th></th>\n",
309       "      <th></th>\n",
310       "      <th></th>\n",
311       "      <th></th>\n",
312       "      <th></th>\n",
313       "    </tr>\n",
314       "  </thead>\n",
315       "  <tbody>\n",
316       "    <tr>\n",
317       "      <th>317.500003</th>\n",
318       "      <td>lowpool[12]</td>\n",
319       "      <td>6.0</td>\n",
320       "      <td>53823</td>\n",
321       "      <td>7897.0</td>\n",
322       "      <td>2467.0</td>\n",
323       "      <td>root</td>\n",
324       "      <td>Binder:1141_1</td>\n",
325       "      <td>foreground</td>\n",
326       "      <td>1152.0</td>\n",
327       "      <td>120.0</td>\n",
328       "      <td>foreground</td>\n",
329       "      <td>7897.0</td>\n",
330       "      <td>lowpool[12]</td>\n",
331       "      <td>130.0</td>\n",
332       "      <td>foreground</td>\n",
333       "      <td>R</td>\n",
334       "    </tr>\n",
335       "    <tr>\n",
336       "      <th>317.500011</th>\n",
337       "      <td>.gms.persisten</td>\n",
338       "      <td>7.0</td>\n",
339       "      <td>53824</td>\n",
340       "      <td>2467.0</td>\n",
341       "      <td>2467.0</td>\n",
342       "      <td>root</td>\n",
343       "      <td>Binder:1141_3</td>\n",
344       "      <td>foreground</td>\n",
345       "      <td>1953.0</td>\n",
346       "      <td>120.0</td>\n",
347       "      <td>foreground</td>\n",
348       "      <td>2467.0</td>\n",
349       "      <td>.gms.persistent</td>\n",
350       "      <td>120.0</td>\n",
351       "      <td>foreground</td>\n",
352       "      <td>S</td>\n",
353       "    </tr>\n",
354       "    <tr>\n",
355       "      <th>317.500040</th>\n",
356       "      <td>lowpool[9]</td>\n",
357       "      <td>2.0</td>\n",
358       "      <td>53826</td>\n",
359       "      <td>5668.0</td>\n",
360       "      <td>2467.0</td>\n",
361       "      <td>root</td>\n",
362       "      <td>Binder:1141_2</td>\n",
363       "      <td>foreground</td>\n",
364       "      <td>1153.0</td>\n",
365       "      <td>120.0</td>\n",
366       "      <td>foreground</td>\n",
367       "      <td>5668.0</td>\n",
368       "      <td>lowpool[9]</td>\n",
369       "      <td>130.0</td>\n",
370       "      <td>foreground</td>\n",
371       "      <td>S</td>\n",
372       "    </tr>\n",
373       "    <tr>\n",
374       "      <th>317.500088</th>\n",
375       "      <td>Binder:1141_1</td>\n",
376       "      <td>6.0</td>\n",
377       "      <td>53828</td>\n",
378       "      <td>1152.0</td>\n",
379       "      <td>1141.0</td>\n",
380       "      <td>foreground</td>\n",
381       "      <td>lowpool[12]</td>\n",
382       "      <td>root</td>\n",
383       "      <td>7897.0</td>\n",
384       "      <td>130.0</td>\n",
385       "      <td>foreground</td>\n",
386       "      <td>1152.0</td>\n",
387       "      <td>Binder:1141_1</td>\n",
388       "      <td>120.0</td>\n",
389       "      <td>foreground</td>\n",
390       "      <td>S</td>\n",
391       "    </tr>\n",
392       "    <tr>\n",
393       "      <th>317.500099</th>\n",
394       "      <td>Binder:1141_3</td>\n",
395       "      <td>7.0</td>\n",
396       "      <td>53829</td>\n",
397       "      <td>1953.0</td>\n",
398       "      <td>1141.0</td>\n",
399       "      <td>foreground</td>\n",
400       "      <td>FlpThread</td>\n",
401       "      <td>root</td>\n",
402       "      <td>3032.0</td>\n",
403       "      <td>120.0</td>\n",
404       "      <td>foreground</td>\n",
405       "      <td>1953.0</td>\n",
406       "      <td>Binder:1141_3</td>\n",
407       "      <td>120.0</td>\n",
408       "      <td>foreground</td>\n",
409       "      <td>S</td>\n",
410       "    </tr>\n",
411       "    <tr>\n",
412       "      <th>317.500112</th>\n",
413       "      <td>Binder:1141_7</td>\n",
414       "      <td>0.0</td>\n",
415       "      <td>53831</td>\n",
416       "      <td>2568.0</td>\n",
417       "      <td>1141.0</td>\n",
418       "      <td>foreground</td>\n",
419       "      <td>lmkd</td>\n",
420       "      <td>root</td>\n",
421       "      <td>1021.0</td>\n",
422       "      <td>98.0</td>\n",
423       "      <td>system-background</td>\n",
424       "      <td>2568.0</td>\n",
425       "      <td>Binder:1141_7</td>\n",
426       "      <td>118.0</td>\n",
427       "      <td>foreground</td>\n",
428       "      <td>R+</td>\n",
429       "    </tr>\n",
430       "    <tr>\n",
431       "      <th>317.500117</th>\n",
432       "      <td>lowpool[16]</td>\n",
433       "      <td>1.0</td>\n",
434       "      <td>53834</td>\n",
435       "      <td>9475.0</td>\n",
436       "      <td>2467.0</td>\n",
437       "      <td>root</td>\n",
438       "      <td>swapper/1</td>\n",
439       "      <td>NaN</td>\n",
440       "      <td>0.0</td>\n",
441       "      <td>120.0</td>\n",
442       "      <td>NaN</td>\n",
443       "      <td>9475.0</td>\n",
444       "      <td>lowpool[16]</td>\n",
445       "      <td>130.0</td>\n",
446       "      <td>foreground</td>\n",
447       "      <td>S</td>\n",
448       "    </tr>\n",
449       "    <tr>\n",
450       "      <th>317.500194</th>\n",
451       "      <td>FlpThread</td>\n",
452       "      <td>7.0</td>\n",
453       "      <td>53837</td>\n",
454       "      <td>3032.0</td>\n",
455       "      <td>2467.0</td>\n",
456       "      <td>root</td>\n",
457       "      <td>Binder:1141_3</td>\n",
458       "      <td>foreground</td>\n",
459       "      <td>1953.0</td>\n",
460       "      <td>120.0</td>\n",
461       "      <td>foreground</td>\n",
462       "      <td>3032.0</td>\n",
463       "      <td>FlpThread</td>\n",
464       "      <td>120.0</td>\n",
465       "      <td>foreground</td>\n",
466       "      <td>S</td>\n",
467       "    </tr>\n",
468       "    <tr>\n",
469       "      <th>317.500206</th>\n",
470       "      <td>lmkd</td>\n",
471       "      <td>0.0</td>\n",
472       "      <td>53838</td>\n",
473       "      <td>1021.0</td>\n",
474       "      <td>1021.0</td>\n",
475       "      <td>root</td>\n",
476       "      <td>Binder:1141_7</td>\n",
477       "      <td>foreground</td>\n",
478       "      <td>2568.0</td>\n",
479       "      <td>118.0</td>\n",
480       "      <td>foreground</td>\n",
481       "      <td>1021.0</td>\n",
482       "      <td>lmkd</td>\n",
483       "      <td>98.0</td>\n",
484       "      <td>system-background</td>\n",
485       "      <td>S</td>\n",
486       "    </tr>\n",
487       "    <tr>\n",
488       "      <th>317.500234</th>\n",
489       "      <td>lowpool[12]</td>\n",
490       "      <td>6.0</td>\n",
491       "      <td>53840</td>\n",
492       "      <td>7897.0</td>\n",
493       "      <td>2467.0</td>\n",
494       "      <td>root</td>\n",
495       "      <td>Binder:1141_C</td>\n",
496       "      <td>foreground</td>\n",
497       "      <td>2649.0</td>\n",
498       "      <td>120.0</td>\n",
499       "      <td>foreground</td>\n",
500       "      <td>7897.0</td>\n",
501       "      <td>CMEventHandler</td>\n",
502       "      <td>130.0</td>\n",
503       "      <td>foreground</td>\n",
504       "      <td>R+</td>\n",
505       "    </tr>\n",
506       "    <tr>\n",
507       "      <th>317.500254</th>\n",
508       "      <td>Binder:1141_3</td>\n",
509       "      <td>7.0</td>\n",
510       "      <td>53843</td>\n",
511       "      <td>1953.0</td>\n",
512       "      <td>1141.0</td>\n",
513       "      <td>foreground</td>\n",
514       "      <td>FlpThread</td>\n",
515       "      <td>root</td>\n",
516       "      <td>3032.0</td>\n",
517       "      <td>120.0</td>\n",
518       "      <td>foreground</td>\n",
519       "      <td>1953.0</td>\n",
520       "      <td>Binder:1141_3</td>\n",
521       "      <td>120.0</td>\n",
522       "      <td>foreground</td>\n",
523       "      <td>S</td>\n",
524       "    </tr>\n",
525       "    <tr>\n",
526       "      <th>317.500302</th>\n",
527       "      <td>Binder:1141_7</td>\n",
528       "      <td>0.0</td>\n",
529       "      <td>53844</td>\n",
530       "      <td>2568.0</td>\n",
531       "      <td>1141.0</td>\n",
532       "      <td>foreground</td>\n",
533       "      <td>swapper/0</td>\n",
534       "      <td>NaN</td>\n",
535       "      <td>0.0</td>\n",
536       "      <td>120.0</td>\n",
537       "      <td>NaN</td>\n",
538       "      <td>2568.0</td>\n",
539       "      <td>Binder:1141_7</td>\n",
540       "      <td>120.0</td>\n",
541       "      <td>foreground</td>\n",
542       "      <td>S</td>\n",
543       "    </tr>\n",
544       "    <tr>\n",
545       "      <th>317.500317</th>\n",
546       "      <td>FlpThread</td>\n",
547       "      <td>7.0</td>\n",
548       "      <td>53846</td>\n",
549       "      <td>3032.0</td>\n",
550       "      <td>2467.0</td>\n",
551       "      <td>root</td>\n",
552       "      <td>lowpool[17]</td>\n",
553       "      <td>root</td>\n",
554       "      <td>9476.0</td>\n",
555       "      <td>130.0</td>\n",
556       "      <td>foreground</td>\n",
557       "      <td>3032.0</td>\n",
558       "      <td>FlpThread</td>\n",
559       "      <td>120.0</td>\n",
560       "      <td>foreground</td>\n",
561       "      <td>S</td>\n",
562       "    </tr>\n",
563       "    <tr>\n",
564       "      <th>317.500326</th>\n",
565       "      <td>&lt;idle&gt;</td>\n",
566       "      <td>0.0</td>\n",
567       "      <td>53849</td>\n",
568       "      <td>0.0</td>\n",
569       "      <td>-1.0</td>\n",
570       "      <td>NaN</td>\n",
571       "      <td>Binder:1141_7</td>\n",
572       "      <td>foreground</td>\n",
573       "      <td>2568.0</td>\n",
574       "      <td>120.0</td>\n",
575       "      <td>foreground</td>\n",
576       "      <td>0.0</td>\n",
577       "      <td>swapper/0</td>\n",
578       "      <td>120.0</td>\n",
579       "      <td>NaN</td>\n",
580       "      <td>R</td>\n",
581       "    </tr>\n",
582       "    <tr>\n",
583       "      <th>317.500393</th>\n",
584       "      <td>Binder:1141_2</td>\n",
585       "      <td>2.0</td>\n",
586       "      <td>53854</td>\n",
587       "      <td>1153.0</td>\n",
588       "      <td>1141.0</td>\n",
589       "      <td>foreground</td>\n",
590       "      <td>logd.writer</td>\n",
591       "      <td>background</td>\n",
592       "      <td>835.0</td>\n",
593       "      <td>130.0</td>\n",
594       "      <td>system-background</td>\n",
595       "      <td>1153.0</td>\n",
596       "      <td>Binder:1141_2</td>\n",
597       "      <td>120.0</td>\n",
598       "      <td>foreground</td>\n",
599       "      <td>S</td>\n",
600       "    </tr>\n",
601       "    <tr>\n",
602       "      <th>317.500394</th>\n",
603       "      <td>&lt;idle&gt;</td>\n",
604       "      <td>1.0</td>\n",
605       "      <td>53855</td>\n",
606       "      <td>0.0</td>\n",
607       "      <td>-1.0</td>\n",
608       "      <td>NaN</td>\n",
609       "      <td>PowerManagerSer</td>\n",
610       "      <td>foreground</td>\n",
611       "      <td>1478.0</td>\n",
612       "      <td>116.0</td>\n",
613       "      <td>foreground</td>\n",
614       "      <td>0.0</td>\n",
615       "      <td>swapper/1</td>\n",
616       "      <td>120.0</td>\n",
617       "      <td>NaN</td>\n",
618       "      <td>R</td>\n",
619       "    </tr>\n",
620       "    <tr>\n",
621       "      <th>317.500411</th>\n",
622       "      <td>Binder:1141_7</td>\n",
623       "      <td>0.0</td>\n",
624       "      <td>53857</td>\n",
625       "      <td>2568.0</td>\n",
626       "      <td>1141.0</td>\n",
627       "      <td>foreground</td>\n",
628       "      <td>swapper/0</td>\n",
629       "      <td>NaN</td>\n",
630       "      <td>0.0</td>\n",
631       "      <td>120.0</td>\n",
632       "      <td>NaN</td>\n",
633       "      <td>2568.0</td>\n",
634       "      <td>Binder:1141_7</td>\n",
635       "      <td>120.0</td>\n",
636       "      <td>foreground</td>\n",
637       "      <td>S</td>\n",
638       "    </tr>\n",
639       "    <tr>\n",
640       "      <th>317.500420</th>\n",
641       "      <td>Binder:1141_C</td>\n",
642       "      <td>6.0</td>\n",
643       "      <td>53859</td>\n",
644       "      <td>2649.0</td>\n",
645       "      <td>1141.0</td>\n",
646       "      <td>foreground</td>\n",
647       "      <td>Binder:1141_1</td>\n",
648       "      <td>foreground</td>\n",
649       "      <td>1152.0</td>\n",
650       "      <td>120.0</td>\n",
651       "      <td>foreground</td>\n",
652       "      <td>2649.0</td>\n",
653       "      <td>Binder:1141_C</td>\n",
654       "      <td>120.0</td>\n",
655       "      <td>foreground</td>\n",
656       "      <td>S</td>\n",
657       "    </tr>\n",
658       "    <tr>\n",
659       "      <th>317.500453</th>\n",
660       "      <td>PowerManagerSe</td>\n",
661       "      <td>1.0</td>\n",
662       "      <td>53860</td>\n",
663       "      <td>1478.0</td>\n",
664       "      <td>1141.0</td>\n",
665       "      <td>foreground</td>\n",
666       "      <td>swapper/1</td>\n",
667       "      <td>NaN</td>\n",
668       "      <td>0.0</td>\n",
669       "      <td>120.0</td>\n",
670       "      <td>NaN</td>\n",
671       "      <td>1478.0</td>\n",
672       "      <td>PowerManagerSer</td>\n",
673       "      <td>116.0</td>\n",
674       "      <td>foreground</td>\n",
675       "      <td>S</td>\n",
676       "    </tr>\n",
677       "    <tr>\n",
678       "      <th>317.500487</th>\n",
679       "      <td>Binder:1141_1</td>\n",
680       "      <td>6.0</td>\n",
681       "      <td>53862</td>\n",
682       "      <td>1152.0</td>\n",
683       "      <td>1141.0</td>\n",
684       "      <td>foreground</td>\n",
685       "      <td>CMEventHandler</td>\n",
686       "      <td>root</td>\n",
687       "      <td>7897.0</td>\n",
688       "      <td>130.0</td>\n",
689       "      <td>foreground</td>\n",
690       "      <td>1152.0</td>\n",
691       "      <td>Binder:1141_1</td>\n",
692       "      <td>120.0</td>\n",
693       "      <td>foreground</td>\n",
694       "      <td>S</td>\n",
695       "    </tr>\n",
696       "    <tr>\n",
697       "      <th>317.500496</th>\n",
698       "      <td>&lt;idle&gt;</td>\n",
699       "      <td>0.0</td>\n",
700       "      <td>53865</td>\n",
701       "      <td>0.0</td>\n",
702       "      <td>-1.0</td>\n",
703       "      <td>NaN</td>\n",
704       "      <td>logd.reader.per</td>\n",
705       "      <td>background</td>\n",
706       "      <td>5681.0</td>\n",
707       "      <td>130.0</td>\n",
708       "      <td>system-background</td>\n",
709       "      <td>0.0</td>\n",
710       "      <td>swapper/0</td>\n",
711       "      <td>120.0</td>\n",
712       "      <td>NaN</td>\n",
713       "      <td>R</td>\n",
714       "    </tr>\n",
715       "    <tr>\n",
716       "      <th>317.500507</th>\n",
717       "      <td>&lt;idle&gt;</td>\n",
718       "      <td>1.0</td>\n",
719       "      <td>53868</td>\n",
720       "      <td>0.0</td>\n",
721       "      <td>-1.0</td>\n",
722       "      <td>NaN</td>\n",
723       "      <td>logd.reader.per</td>\n",
724       "      <td>background</td>\n",
725       "      <td>8196.0</td>\n",
726       "      <td>130.0</td>\n",
727       "      <td>system-background</td>\n",
728       "      <td>0.0</td>\n",
729       "      <td>swapper/1</td>\n",
730       "      <td>120.0</td>\n",
731       "      <td>NaN</td>\n",
732       "      <td>R</td>\n",
733       "    </tr>\n",
734       "    <tr>\n",
735       "      <th>317.500513</th>\n",
736       "      <td>logd.reader.pe</td>\n",
737       "      <td>0.0</td>\n",
738       "      <td>53869</td>\n",
739       "      <td>5681.0</td>\n",
740       "      <td>827.0</td>\n",
741       "      <td>background</td>\n",
742       "      <td>swapper/0</td>\n",
743       "      <td>NaN</td>\n",
744       "      <td>0.0</td>\n",
745       "      <td>120.0</td>\n",
746       "      <td>NaN</td>\n",
747       "      <td>5681.0</td>\n",
748       "      <td>logd.reader.per</td>\n",
749       "      <td>130.0</td>\n",
750       "      <td>system-background</td>\n",
751       "      <td>S</td>\n",
752       "    </tr>\n",
753       "    <tr>\n",
754       "      <th>317.500515</th>\n",
755       "      <td>lowpool[12]</td>\n",
756       "      <td>6.0</td>\n",
757       "      <td>53871</td>\n",
758       "      <td>7897.0</td>\n",
759       "      <td>2467.0</td>\n",
760       "      <td>root</td>\n",
761       "      <td>swapper/6</td>\n",
762       "      <td>NaN</td>\n",
763       "      <td>0.0</td>\n",
764       "      <td>120.0</td>\n",
765       "      <td>NaN</td>\n",
766       "      <td>7897.0</td>\n",
767       "      <td>CMEventHandler</td>\n",
768       "      <td>130.0</td>\n",
769       "      <td>foreground</td>\n",
770       "      <td>S</td>\n",
771       "    </tr>\n",
772       "    <tr>\n",
773       "      <th>317.500517</th>\n",
774       "      <td>logd.reader.pe</td>\n",
775       "      <td>1.0</td>\n",
776       "      <td>53872</td>\n",
777       "      <td>8196.0</td>\n",
778       "      <td>827.0</td>\n",
779       "      <td>background</td>\n",
780       "      <td>swapper/1</td>\n",
781       "      <td>NaN</td>\n",
782       "      <td>0.0</td>\n",
783       "      <td>120.0</td>\n",
784       "      <td>NaN</td>\n",
785       "      <td>8196.0</td>\n",
786       "      <td>logd.reader.per</td>\n",
787       "      <td>130.0</td>\n",
788       "      <td>system-background</td>\n",
789       "      <td>S</td>\n",
790       "    </tr>\n",
791       "    <tr>\n",
792       "      <th>317.500520</th>\n",
793       "      <td>&lt;idle&gt;</td>\n",
794       "      <td>0.0</td>\n",
795       "      <td>53874</td>\n",
796       "      <td>0.0</td>\n",
797       "      <td>-1.0</td>\n",
798       "      <td>NaN</td>\n",
799       "      <td>logd.reader.per</td>\n",
800       "      <td>background</td>\n",
801       "      <td>5681.0</td>\n",
802       "      <td>130.0</td>\n",
803       "      <td>system-background</td>\n",
804       "      <td>0.0</td>\n",
805       "      <td>swapper/0</td>\n",
806       "      <td>120.0</td>\n",
807       "      <td>NaN</td>\n",
808       "      <td>R</td>\n",
809       "    </tr>\n",
810       "    <tr>\n",
811       "      <th>317.500531</th>\n",
812       "      <td>logd.writer</td>\n",
813       "      <td>2.0</td>\n",
814       "      <td>53880</td>\n",
815       "      <td>835.0</td>\n",
816       "      <td>827.0</td>\n",
817       "      <td>background</td>\n",
818       "      <td>Binder:1141_2</td>\n",
819       "      <td>foreground</td>\n",
820       "      <td>1153.0</td>\n",
821       "      <td>120.0</td>\n",
822       "      <td>foreground</td>\n",
823       "      <td>835.0</td>\n",
824       "      <td>logd.writer</td>\n",
825       "      <td>130.0</td>\n",
826       "      <td>system-background</td>\n",
827       "      <td>S</td>\n",
828       "    </tr>\n",
829       "    <tr>\n",
830       "      <th>317.500535</th>\n",
831       "      <td>&lt;idle&gt;</td>\n",
832       "      <td>1.0</td>\n",
833       "      <td>53882</td>\n",
834       "      <td>0.0</td>\n",
835       "      <td>-1.0</td>\n",
836       "      <td>NaN</td>\n",
837       "      <td>logd.reader.per</td>\n",
838       "      <td>background</td>\n",
839       "      <td>8196.0</td>\n",
840       "      <td>130.0</td>\n",
841       "      <td>system-background</td>\n",
842       "      <td>0.0</td>\n",
843       "      <td>swapper/1</td>\n",
844       "      <td>120.0</td>\n",
845       "      <td>NaN</td>\n",
846       "      <td>R</td>\n",
847       "    </tr>\n",
848       "    <tr>\n",
849       "      <th>317.500569</th>\n",
850       "      <td>logd.reader.pe</td>\n",
851       "      <td>0.0</td>\n",
852       "      <td>53887</td>\n",
853       "      <td>5681.0</td>\n",
854       "      <td>827.0</td>\n",
855       "      <td>background</td>\n",
856       "      <td>Binder:1141_7</td>\n",
857       "      <td>foreground</td>\n",
858       "      <td>2568.0</td>\n",
859       "      <td>120.0</td>\n",
860       "      <td>foreground</td>\n",
861       "      <td>5681.0</td>\n",
862       "      <td>logd.reader.per</td>\n",
863       "      <td>130.0</td>\n",
864       "      <td>system-background</td>\n",
865       "      <td>S</td>\n",
866       "    </tr>\n",
867       "    <tr>\n",
868       "      <th>317.500573</th>\n",
869       "      <td>logd.reader.pe</td>\n",
870       "      <td>1.0</td>\n",
871       "      <td>53888</td>\n",
872       "      <td>8196.0</td>\n",
873       "      <td>827.0</td>\n",
874       "      <td>background</td>\n",
875       "      <td>logcat</td>\n",
876       "      <td>root</td>\n",
877       "      <td>5679.0</td>\n",
878       "      <td>120.0</td>\n",
879       "      <td>root</td>\n",
880       "      <td>8196.0</td>\n",
881       "      <td>logd.reader.per</td>\n",
882       "      <td>130.0</td>\n",
883       "      <td>system-background</td>\n",
884       "      <td>S</td>\n",
885       "    </tr>\n",
886       "    <tr>\n",
887       "      <th>...</th>\n",
888       "      <td>...</td>\n",
889       "      <td>...</td>\n",
890       "      <td>...</td>\n",
891       "      <td>...</td>\n",
892       "      <td>...</td>\n",
893       "      <td>...</td>\n",
894       "      <td>...</td>\n",
895       "      <td>...</td>\n",
896       "      <td>...</td>\n",
897       "      <td>...</td>\n",
898       "      <td>...</td>\n",
899       "      <td>...</td>\n",
900       "      <td>...</td>\n",
901       "      <td>...</td>\n",
902       "      <td>...</td>\n",
903       "      <td>...</td>\n",
904       "    </tr>\n",
905       "    <tr>\n",
906       "      <th>338.092909</th>\n",
907       "      <td>atrace</td>\n",
908       "      <td>4.0</td>\n",
909       "      <td>482620</td>\n",
910       "      <td>9906.0</td>\n",
911       "      <td>9906.0</td>\n",
912       "      <td>NaN</td>\n",
913       "      <td>swapper/4</td>\n",
914       "      <td>NaN</td>\n",
915       "      <td>0.0</td>\n",
916       "      <td>120.0</td>\n",
917       "      <td>NaN</td>\n",
918       "      <td>9906.0</td>\n",
919       "      <td>atrace</td>\n",
920       "      <td>120.0</td>\n",
921       "      <td>NaN</td>\n",
922       "      <td>S</td>\n",
923       "    </tr>\n",
924       "    <tr>\n",
925       "      <th>338.092915</th>\n",
926       "      <td>logcat</td>\n",
927       "      <td>1.0</td>\n",
928       "      <td>482622</td>\n",
929       "      <td>8194.0</td>\n",
930       "      <td>8194.0</td>\n",
931       "      <td>root</td>\n",
932       "      <td>logd.reader.per</td>\n",
933       "      <td>background</td>\n",
934       "      <td>8196.0</td>\n",
935       "      <td>130.0</td>\n",
936       "      <td>system-background</td>\n",
937       "      <td>8194.0</td>\n",
938       "      <td>logcat</td>\n",
939       "      <td>120.0</td>\n",
940       "      <td>root</td>\n",
941       "      <td>S</td>\n",
942       "    </tr>\n",
943       "    <tr>\n",
944       "      <th>338.092928</th>\n",
945       "      <td>logd.reader.pe</td>\n",
946       "      <td>1.0</td>\n",
947       "      <td>482625</td>\n",
948       "      <td>8196.0</td>\n",
949       "      <td>827.0</td>\n",
950       "      <td>background</td>\n",
951       "      <td>swapper/1</td>\n",
952       "      <td>NaN</td>\n",
953       "      <td>0.0</td>\n",
954       "      <td>120.0</td>\n",
955       "      <td>NaN</td>\n",
956       "      <td>8196.0</td>\n",
957       "      <td>logd.reader.per</td>\n",
958       "      <td>130.0</td>\n",
959       "      <td>system-background</td>\n",
960       "      <td>S</td>\n",
961       "    </tr>\n",
962       "    <tr>\n",
963       "      <th>338.092937</th>\n",
964       "      <td>&lt;idle&gt;</td>\n",
965       "      <td>1.0</td>\n",
966       "      <td>482627</td>\n",
967       "      <td>0.0</td>\n",
968       "      <td>-1.0</td>\n",
969       "      <td>NaN</td>\n",
970       "      <td>logd.reader.per</td>\n",
971       "      <td>background</td>\n",
972       "      <td>8196.0</td>\n",
973       "      <td>130.0</td>\n",
974       "      <td>system-background</td>\n",
975       "      <td>0.0</td>\n",
976       "      <td>swapper/1</td>\n",
977       "      <td>120.0</td>\n",
978       "      <td>NaN</td>\n",
979       "      <td>R</td>\n",
980       "    </tr>\n",
981       "    <tr>\n",
982       "      <th>338.092990</th>\n",
983       "      <td>logd.reader.pe</td>\n",
984       "      <td>1.0</td>\n",
985       "      <td>482629</td>\n",
986       "      <td>8196.0</td>\n",
987       "      <td>827.0</td>\n",
988       "      <td>background</td>\n",
989       "      <td>logcat</td>\n",
990       "      <td>root</td>\n",
991       "      <td>8194.0</td>\n",
992       "      <td>120.0</td>\n",
993       "      <td>root</td>\n",
994       "      <td>8196.0</td>\n",
995       "      <td>logd.reader.per</td>\n",
996       "      <td>130.0</td>\n",
997       "      <td>system-background</td>\n",
998       "      <td>S</td>\n",
999       "    </tr>\n",
1000       "    <tr>\n",
1001       "      <th>338.093017</th>\n",
1002       "      <td>logcat</td>\n",
1003       "      <td>1.0</td>\n",
1004       "      <td>482631</td>\n",
1005       "      <td>8194.0</td>\n",
1006       "      <td>8194.0</td>\n",
1007       "      <td>root</td>\n",
1008       "      <td>logd.reader.per</td>\n",
1009       "      <td>background</td>\n",
1010       "      <td>8196.0</td>\n",
1011       "      <td>130.0</td>\n",
1012       "      <td>system-background</td>\n",
1013       "      <td>8194.0</td>\n",
1014       "      <td>logcat</td>\n",
1015       "      <td>120.0</td>\n",
1016       "      <td>root</td>\n",
1017       "      <td>S</td>\n",
1018       "    </tr>\n",
1019       "    <tr>\n",
1020       "      <th>338.093040</th>\n",
1021       "      <td>logd.reader.pe</td>\n",
1022       "      <td>1.0</td>\n",
1023       "      <td>482635</td>\n",
1024       "      <td>8196.0</td>\n",
1025       "      <td>827.0</td>\n",
1026       "      <td>background</td>\n",
1027       "      <td>logcat</td>\n",
1028       "      <td>root</td>\n",
1029       "      <td>8194.0</td>\n",
1030       "      <td>120.0</td>\n",
1031       "      <td>root</td>\n",
1032       "      <td>8196.0</td>\n",
1033       "      <td>logd.reader.per</td>\n",
1034       "      <td>130.0</td>\n",
1035       "      <td>system-background</td>\n",
1036       "      <td>S</td>\n",
1037       "    </tr>\n",
1038       "    <tr>\n",
1039       "      <th>338.093054</th>\n",
1040       "      <td>logcat</td>\n",
1041       "      <td>1.0</td>\n",
1042       "      <td>482637</td>\n",
1043       "      <td>8194.0</td>\n",
1044       "      <td>8194.0</td>\n",
1045       "      <td>root</td>\n",
1046       "      <td>logd.reader.per</td>\n",
1047       "      <td>background</td>\n",
1048       "      <td>8196.0</td>\n",
1049       "      <td>130.0</td>\n",
1050       "      <td>system-background</td>\n",
1051       "      <td>8194.0</td>\n",
1052       "      <td>logcat</td>\n",
1053       "      <td>120.0</td>\n",
1054       "      <td>root</td>\n",
1055       "      <td>S</td>\n",
1056       "    </tr>\n",
1057       "    <tr>\n",
1058       "      <th>338.093061</th>\n",
1059       "      <td>logd.writer</td>\n",
1060       "      <td>2.0</td>\n",
1061       "      <td>482638</td>\n",
1062       "      <td>835.0</td>\n",
1063       "      <td>827.0</td>\n",
1064       "      <td>background</td>\n",
1065       "      <td>logd.reader.per</td>\n",
1066       "      <td>background</td>\n",
1067       "      <td>9688.0</td>\n",
1068       "      <td>130.0</td>\n",
1069       "      <td>system-background</td>\n",
1070       "      <td>835.0</td>\n",
1071       "      <td>logd.writer</td>\n",
1072       "      <td>130.0</td>\n",
1073       "      <td>system-background</td>\n",
1074       "      <td>S</td>\n",
1075       "    </tr>\n",
1076       "    <tr>\n",
1077       "      <th>338.093069</th>\n",
1078       "      <td>logd.reader.pe</td>\n",
1079       "      <td>1.0</td>\n",
1080       "      <td>482640</td>\n",
1081       "      <td>8196.0</td>\n",
1082       "      <td>827.0</td>\n",
1083       "      <td>background</td>\n",
1084       "      <td>swapper/1</td>\n",
1085       "      <td>NaN</td>\n",
1086       "      <td>0.0</td>\n",
1087       "      <td>120.0</td>\n",
1088       "      <td>NaN</td>\n",
1089       "      <td>8196.0</td>\n",
1090       "      <td>logd.reader.per</td>\n",
1091       "      <td>130.0</td>\n",
1092       "      <td>system-background</td>\n",
1093       "      <td>S</td>\n",
1094       "    </tr>\n",
1095       "    <tr>\n",
1096       "      <th>338.093087</th>\n",
1097       "      <td>&lt;idle&gt;</td>\n",
1098       "      <td>1.0</td>\n",
1099       "      <td>482644</td>\n",
1100       "      <td>0.0</td>\n",
1101       "      <td>-1.0</td>\n",
1102       "      <td>NaN</td>\n",
1103       "      <td>logcat</td>\n",
1104       "      <td>root</td>\n",
1105       "      <td>9685.0</td>\n",
1106       "      <td>120.0</td>\n",
1107       "      <td>root</td>\n",
1108       "      <td>0.0</td>\n",
1109       "      <td>swapper/1</td>\n",
1110       "      <td>120.0</td>\n",
1111       "      <td>NaN</td>\n",
1112       "      <td>R</td>\n",
1113       "    </tr>\n",
1114       "    <tr>\n",
1115       "      <th>338.093098</th>\n",
1116       "      <td>logd.reader.pe</td>\n",
1117       "      <td>2.0</td>\n",
1118       "      <td>482645</td>\n",
1119       "      <td>9688.0</td>\n",
1120       "      <td>827.0</td>\n",
1121       "      <td>background</td>\n",
1122       "      <td>logd.writer</td>\n",
1123       "      <td>background</td>\n",
1124       "      <td>835.0</td>\n",
1125       "      <td>130.0</td>\n",
1126       "      <td>system-background</td>\n",
1127       "      <td>9688.0</td>\n",
1128       "      <td>logd.reader.per</td>\n",
1129       "      <td>130.0</td>\n",
1130       "      <td>system-background</td>\n",
1131       "      <td>S</td>\n",
1132       "    </tr>\n",
1133       "    <tr>\n",
1134       "      <th>338.093109</th>\n",
1135       "      <td>logcat</td>\n",
1136       "      <td>1.0</td>\n",
1137       "      <td>482646</td>\n",
1138       "      <td>9685.0</td>\n",
1139       "      <td>9685.0</td>\n",
1140       "      <td>root</td>\n",
1141       "      <td>swapper/1</td>\n",
1142       "      <td>NaN</td>\n",
1143       "      <td>0.0</td>\n",
1144       "      <td>120.0</td>\n",
1145       "      <td>NaN</td>\n",
1146       "      <td>9685.0</td>\n",
1147       "      <td>logcat</td>\n",
1148       "      <td>120.0</td>\n",
1149       "      <td>root</td>\n",
1150       "      <td>S</td>\n",
1151       "    </tr>\n",
1152       "    <tr>\n",
1153       "      <th>338.093134</th>\n",
1154       "      <td>&lt;idle&gt;</td>\n",
1155       "      <td>1.0</td>\n",
1156       "      <td>482651</td>\n",
1157       "      <td>0.0</td>\n",
1158       "      <td>-1.0</td>\n",
1159       "      <td>NaN</td>\n",
1160       "      <td>logd.reader.per</td>\n",
1161       "      <td>background</td>\n",
1162       "      <td>8196.0</td>\n",
1163       "      <td>130.0</td>\n",
1164       "      <td>system-background</td>\n",
1165       "      <td>0.0</td>\n",
1166       "      <td>swapper/1</td>\n",
1167       "      <td>120.0</td>\n",
1168       "      <td>NaN</td>\n",
1169       "      <td>R</td>\n",
1170       "    </tr>\n",
1171       "    <tr>\n",
1172       "      <th>338.093143</th>\n",
1173       "      <td>&lt;idle&gt;</td>\n",
1174       "      <td>7.0</td>\n",
1175       "      <td>482655</td>\n",
1176       "      <td>0.0</td>\n",
1177       "      <td>-1.0</td>\n",
1178       "      <td>NaN</td>\n",
1179       "      <td>atrace</td>\n",
1180       "      <td>NaN</td>\n",
1181       "      <td>9906.0</td>\n",
1182       "      <td>120.0</td>\n",
1183       "      <td>NaN</td>\n",
1184       "      <td>0.0</td>\n",
1185       "      <td>swapper/7</td>\n",
1186       "      <td>120.0</td>\n",
1187       "      <td>NaN</td>\n",
1188       "      <td>R</td>\n",
1189       "    </tr>\n",
1190       "    <tr>\n",
1191       "      <th>338.093143</th>\n",
1192       "      <td>logd.reader.pe</td>\n",
1193       "      <td>1.0</td>\n",
1194       "      <td>482656</td>\n",
1195       "      <td>8196.0</td>\n",
1196       "      <td>827.0</td>\n",
1197       "      <td>background</td>\n",
1198       "      <td>swapper/1</td>\n",
1199       "      <td>NaN</td>\n",
1200       "      <td>0.0</td>\n",
1201       "      <td>120.0</td>\n",
1202       "      <td>NaN</td>\n",
1203       "      <td>8196.0</td>\n",
1204       "      <td>logd.reader.per</td>\n",
1205       "      <td>130.0</td>\n",
1206       "      <td>system-background</td>\n",
1207       "      <td>S</td>\n",
1208       "    </tr>\n",
1209       "    <tr>\n",
1210       "      <th>338.093145</th>\n",
1211       "      <td>hwservicemanag</td>\n",
1212       "      <td>3.0</td>\n",
1213       "      <td>482657</td>\n",
1214       "      <td>825.0</td>\n",
1215       "      <td>825.0</td>\n",
1216       "      <td>root</td>\n",
1217       "      <td>sugov:0</td>\n",
1218       "      <td>root</td>\n",
1219       "      <td>820.0</td>\n",
1220       "      <td>49.0</td>\n",
1221       "      <td>root</td>\n",
1222       "      <td>825.0</td>\n",
1223       "      <td>hwservicemanage</td>\n",
1224       "      <td>120.0</td>\n",
1225       "      <td>system-background</td>\n",
1226       "      <td>R+</td>\n",
1227       "    </tr>\n",
1228       "    <tr>\n",
1229       "      <th>338.093151</th>\n",
1230       "      <td>&lt;idle&gt;</td>\n",
1231       "      <td>1.0</td>\n",
1232       "      <td>482659</td>\n",
1233       "      <td>0.0</td>\n",
1234       "      <td>-1.0</td>\n",
1235       "      <td>NaN</td>\n",
1236       "      <td>logd.reader.per</td>\n",
1237       "      <td>background</td>\n",
1238       "      <td>8196.0</td>\n",
1239       "      <td>130.0</td>\n",
1240       "      <td>system-background</td>\n",
1241       "      <td>0.0</td>\n",
1242       "      <td>swapper/1</td>\n",
1243       "      <td>120.0</td>\n",
1244       "      <td>NaN</td>\n",
1245       "      <td>R</td>\n",
1246       "    </tr>\n",
1247       "    <tr>\n",
1248       "      <th>338.093179</th>\n",
1249       "      <td>sugov:0</td>\n",
1250       "      <td>3.0</td>\n",
1251       "      <td>482666</td>\n",
1252       "      <td>820.0</td>\n",
1253       "      <td>820.0</td>\n",
1254       "      <td>root</td>\n",
1255       "      <td>hwservicemanage</td>\n",
1256       "      <td>root</td>\n",
1257       "      <td>825.0</td>\n",
1258       "      <td>120.0</td>\n",
1259       "      <td>system-background</td>\n",
1260       "      <td>820.0</td>\n",
1261       "      <td>sugov:0</td>\n",
1262       "      <td>49.0</td>\n",
1263       "      <td>root</td>\n",
1264       "      <td>S</td>\n",
1265       "    </tr>\n",
1266       "    <tr>\n",
1267       "      <th>338.093186</th>\n",
1268       "      <td>logd.reader.pe</td>\n",
1269       "      <td>1.0</td>\n",
1270       "      <td>482667</td>\n",
1271       "      <td>8196.0</td>\n",
1272       "      <td>827.0</td>\n",
1273       "      <td>background</td>\n",
1274       "      <td>logcat</td>\n",
1275       "      <td>root</td>\n",
1276       "      <td>8194.0</td>\n",
1277       "      <td>120.0</td>\n",
1278       "      <td>root</td>\n",
1279       "      <td>8196.0</td>\n",
1280       "      <td>logd.reader.per</td>\n",
1281       "      <td>130.0</td>\n",
1282       "      <td>system-background</td>\n",
1283       "      <td>S</td>\n",
1284       "    </tr>\n",
1285       "    <tr>\n",
1286       "      <th>338.093188</th>\n",
1287       "      <td>logd.writer</td>\n",
1288       "      <td>2.0</td>\n",
1289       "      <td>482668</td>\n",
1290       "      <td>835.0</td>\n",
1291       "      <td>827.0</td>\n",
1292       "      <td>background</td>\n",
1293       "      <td>logd.reader.per</td>\n",
1294       "      <td>background</td>\n",
1295       "      <td>9688.0</td>\n",
1296       "      <td>130.0</td>\n",
1297       "      <td>system-background</td>\n",
1298       "      <td>835.0</td>\n",
1299       "      <td>logd.writer</td>\n",
1300       "      <td>130.0</td>\n",
1301       "      <td>system-background</td>\n",
1302       "      <td>S</td>\n",
1303       "    </tr>\n",
1304       "    <tr>\n",
1305       "      <th>338.093201</th>\n",
1306       "      <td>logcat</td>\n",
1307       "      <td>1.0</td>\n",
1308       "      <td>482669</td>\n",
1309       "      <td>8194.0</td>\n",
1310       "      <td>8194.0</td>\n",
1311       "      <td>root</td>\n",
1312       "      <td>swapper/1</td>\n",
1313       "      <td>NaN</td>\n",
1314       "      <td>0.0</td>\n",
1315       "      <td>120.0</td>\n",
1316       "      <td>NaN</td>\n",
1317       "      <td>8194.0</td>\n",
1318       "      <td>logcat</td>\n",
1319       "      <td>120.0</td>\n",
1320       "      <td>root</td>\n",
1321       "      <td>S</td>\n",
1322       "    </tr>\n",
1323       "    <tr>\n",
1324       "      <th>338.093210</th>\n",
1325       "      <td>hwservicemanag</td>\n",
1326       "      <td>3.0</td>\n",
1327       "      <td>482671</td>\n",
1328       "      <td>825.0</td>\n",
1329       "      <td>825.0</td>\n",
1330       "      <td>root</td>\n",
1331       "      <td>logd.reader.per</td>\n",
1332       "      <td>background</td>\n",
1333       "      <td>5681.0</td>\n",
1334       "      <td>130.0</td>\n",
1335       "      <td>system-background</td>\n",
1336       "      <td>825.0</td>\n",
1337       "      <td>hwservicemanage</td>\n",
1338       "      <td>120.0</td>\n",
1339       "      <td>system-background</td>\n",
1340       "      <td>S</td>\n",
1341       "    </tr>\n",
1342       "    <tr>\n",
1343       "      <th>338.093210</th>\n",
1344       "      <td>&lt;idle&gt;</td>\n",
1345       "      <td>1.0</td>\n",
1346       "      <td>482672</td>\n",
1347       "      <td>0.0</td>\n",
1348       "      <td>-1.0</td>\n",
1349       "      <td>NaN</td>\n",
1350       "      <td>logcat</td>\n",
1351       "      <td>root</td>\n",
1352       "      <td>9685.0</td>\n",
1353       "      <td>120.0</td>\n",
1354       "      <td>root</td>\n",
1355       "      <td>0.0</td>\n",
1356       "      <td>swapper/1</td>\n",
1357       "      <td>120.0</td>\n",
1358       "      <td>NaN</td>\n",
1359       "      <td>R</td>\n",
1360       "    </tr>\n",
1361       "    <tr>\n",
1362       "      <th>338.093223</th>\n",
1363       "      <td>logd.reader.pe</td>\n",
1364       "      <td>2.0</td>\n",
1365       "      <td>482673</td>\n",
1366       "      <td>9688.0</td>\n",
1367       "      <td>827.0</td>\n",
1368       "      <td>background</td>\n",
1369       "      <td>swapper/2</td>\n",
1370       "      <td>NaN</td>\n",
1371       "      <td>0.0</td>\n",
1372       "      <td>120.0</td>\n",
1373       "      <td>NaN</td>\n",
1374       "      <td>9688.0</td>\n",
1375       "      <td>logd.reader.per</td>\n",
1376       "      <td>130.0</td>\n",
1377       "      <td>system-background</td>\n",
1378       "      <td>S</td>\n",
1379       "    </tr>\n",
1380       "    <tr>\n",
1381       "      <th>338.093226</th>\n",
1382       "      <td>logcat</td>\n",
1383       "      <td>1.0</td>\n",
1384       "      <td>482674</td>\n",
1385       "      <td>9685.0</td>\n",
1386       "      <td>9685.0</td>\n",
1387       "      <td>root</td>\n",
1388       "      <td>swapper/1</td>\n",
1389       "      <td>NaN</td>\n",
1390       "      <td>0.0</td>\n",
1391       "      <td>120.0</td>\n",
1392       "      <td>NaN</td>\n",
1393       "      <td>9685.0</td>\n",
1394       "      <td>logcat</td>\n",
1395       "      <td>120.0</td>\n",
1396       "      <td>root</td>\n",
1397       "      <td>S</td>\n",
1398       "    </tr>\n",
1399       "    <tr>\n",
1400       "      <th>338.093246</th>\n",
1401       "      <td>&lt;idle&gt;</td>\n",
1402       "      <td>1.0</td>\n",
1403       "      <td>482679</td>\n",
1404       "      <td>0.0</td>\n",
1405       "      <td>-1.0</td>\n",
1406       "      <td>NaN</td>\n",
1407       "      <td>logcat</td>\n",
1408       "      <td>root</td>\n",
1409       "      <td>5679.0</td>\n",
1410       "      <td>120.0</td>\n",
1411       "      <td>root</td>\n",
1412       "      <td>0.0</td>\n",
1413       "      <td>swapper/1</td>\n",
1414       "      <td>120.0</td>\n",
1415       "      <td>NaN</td>\n",
1416       "      <td>R</td>\n",
1417       "    </tr>\n",
1418       "    <tr>\n",
1419       "      <th>338.093270</th>\n",
1420       "      <td>logd.reader.pe</td>\n",
1421       "      <td>3.0</td>\n",
1422       "      <td>482680</td>\n",
1423       "      <td>5681.0</td>\n",
1424       "      <td>827.0</td>\n",
1425       "      <td>background</td>\n",
1426       "      <td>swapper/3</td>\n",
1427       "      <td>NaN</td>\n",
1428       "      <td>0.0</td>\n",
1429       "      <td>120.0</td>\n",
1430       "      <td>NaN</td>\n",
1431       "      <td>5681.0</td>\n",
1432       "      <td>logd.reader.per</td>\n",
1433       "      <td>130.0</td>\n",
1434       "      <td>system-background</td>\n",
1435       "      <td>S</td>\n",
1436       "    </tr>\n",
1437       "    <tr>\n",
1438       "      <th>338.093277</th>\n",
1439       "      <td>logcat</td>\n",
1440       "      <td>1.0</td>\n",
1441       "      <td>482681</td>\n",
1442       "      <td>5679.0</td>\n",
1443       "      <td>5679.0</td>\n",
1444       "      <td>root</td>\n",
1445       "      <td>swapper/1</td>\n",
1446       "      <td>NaN</td>\n",
1447       "      <td>0.0</td>\n",
1448       "      <td>120.0</td>\n",
1449       "      <td>NaN</td>\n",
1450       "      <td>5679.0</td>\n",
1451       "      <td>logcat</td>\n",
1452       "      <td>120.0</td>\n",
1453       "      <td>root</td>\n",
1454       "      <td>S</td>\n",
1455       "    </tr>\n",
1456       "    <tr>\n",
1457       "      <th>338.096261</th>\n",
1458       "      <td>&lt;idle&gt;</td>\n",
1459       "      <td>1.0</td>\n",
1460       "      <td>482702</td>\n",
1461       "      <td>0.0</td>\n",
1462       "      <td>-1.0</td>\n",
1463       "      <td>NaN</td>\n",
1464       "      <td>logd.writer</td>\n",
1465       "      <td>background</td>\n",
1466       "      <td>835.0</td>\n",
1467       "      <td>130.0</td>\n",
1468       "      <td>system-background</td>\n",
1469       "      <td>0.0</td>\n",
1470       "      <td>swapper/1</td>\n",
1471       "      <td>120.0</td>\n",
1472       "      <td>NaN</td>\n",
1473       "      <td>R</td>\n",
1474       "    </tr>\n",
1475       "  </tbody>\n",
1476       "</table>\n",
1477       "<p>106922 rows × 16 columns</p>\n",
1478       "</div>"
1479      ],
1480      "text/plain": [
1481       "                    __comm  __cpu  __line   __pid  __tgid prev_cpuset  \\\n",
1482       "Time                                                                    \n",
1483       "317.500003     lowpool[12]    6.0   53823  7897.0  2467.0        root   \n",
1484       "317.500011  .gms.persisten    7.0   53824  2467.0  2467.0        root   \n",
1485       "317.500040      lowpool[9]    2.0   53826  5668.0  2467.0        root   \n",
1486       "317.500088   Binder:1141_1    6.0   53828  1152.0  1141.0  foreground   \n",
1487       "317.500099   Binder:1141_3    7.0   53829  1953.0  1141.0  foreground   \n",
1488       "317.500112   Binder:1141_7    0.0   53831  2568.0  1141.0  foreground   \n",
1489       "317.500117     lowpool[16]    1.0   53834  9475.0  2467.0        root   \n",
1490       "317.500194       FlpThread    7.0   53837  3032.0  2467.0        root   \n",
1491       "317.500206            lmkd    0.0   53838  1021.0  1021.0        root   \n",
1492       "317.500234     lowpool[12]    6.0   53840  7897.0  2467.0        root   \n",
1493       "317.500254   Binder:1141_3    7.0   53843  1953.0  1141.0  foreground   \n",
1494       "317.500302   Binder:1141_7    0.0   53844  2568.0  1141.0  foreground   \n",
1495       "317.500317       FlpThread    7.0   53846  3032.0  2467.0        root   \n",
1496       "317.500326          <idle>    0.0   53849     0.0    -1.0         NaN   \n",
1497       "317.500393   Binder:1141_2    2.0   53854  1153.0  1141.0  foreground   \n",
1498       "317.500394          <idle>    1.0   53855     0.0    -1.0         NaN   \n",
1499       "317.500411   Binder:1141_7    0.0   53857  2568.0  1141.0  foreground   \n",
1500       "317.500420   Binder:1141_C    6.0   53859  2649.0  1141.0  foreground   \n",
1501       "317.500453  PowerManagerSe    1.0   53860  1478.0  1141.0  foreground   \n",
1502       "317.500487   Binder:1141_1    6.0   53862  1152.0  1141.0  foreground   \n",
1503       "317.500496          <idle>    0.0   53865     0.0    -1.0         NaN   \n",
1504       "317.500507          <idle>    1.0   53868     0.0    -1.0         NaN   \n",
1505       "317.500513  logd.reader.pe    0.0   53869  5681.0   827.0  background   \n",
1506       "317.500515     lowpool[12]    6.0   53871  7897.0  2467.0        root   \n",
1507       "317.500517  logd.reader.pe    1.0   53872  8196.0   827.0  background   \n",
1508       "317.500520          <idle>    0.0   53874     0.0    -1.0         NaN   \n",
1509       "317.500531     logd.writer    2.0   53880   835.0   827.0  background   \n",
1510       "317.500535          <idle>    1.0   53882     0.0    -1.0         NaN   \n",
1511       "317.500569  logd.reader.pe    0.0   53887  5681.0   827.0  background   \n",
1512       "317.500573  logd.reader.pe    1.0   53888  8196.0   827.0  background   \n",
1513       "...                    ...    ...     ...     ...     ...         ...   \n",
1514       "338.092909          atrace    4.0  482620  9906.0  9906.0         NaN   \n",
1515       "338.092915          logcat    1.0  482622  8194.0  8194.0        root   \n",
1516       "338.092928  logd.reader.pe    1.0  482625  8196.0   827.0  background   \n",
1517       "338.092937          <idle>    1.0  482627     0.0    -1.0         NaN   \n",
1518       "338.092990  logd.reader.pe    1.0  482629  8196.0   827.0  background   \n",
1519       "338.093017          logcat    1.0  482631  8194.0  8194.0        root   \n",
1520       "338.093040  logd.reader.pe    1.0  482635  8196.0   827.0  background   \n",
1521       "338.093054          logcat    1.0  482637  8194.0  8194.0        root   \n",
1522       "338.093061     logd.writer    2.0  482638   835.0   827.0  background   \n",
1523       "338.093069  logd.reader.pe    1.0  482640  8196.0   827.0  background   \n",
1524       "338.093087          <idle>    1.0  482644     0.0    -1.0         NaN   \n",
1525       "338.093098  logd.reader.pe    2.0  482645  9688.0   827.0  background   \n",
1526       "338.093109          logcat    1.0  482646  9685.0  9685.0        root   \n",
1527       "338.093134          <idle>    1.0  482651     0.0    -1.0         NaN   \n",
1528       "338.093143          <idle>    7.0  482655     0.0    -1.0         NaN   \n",
1529       "338.093143  logd.reader.pe    1.0  482656  8196.0   827.0  background   \n",
1530       "338.093145  hwservicemanag    3.0  482657   825.0   825.0        root   \n",
1531       "338.093151          <idle>    1.0  482659     0.0    -1.0         NaN   \n",
1532       "338.093179         sugov:0    3.0  482666   820.0   820.0        root   \n",
1533       "338.093186  logd.reader.pe    1.0  482667  8196.0   827.0  background   \n",
1534       "338.093188     logd.writer    2.0  482668   835.0   827.0  background   \n",
1535       "338.093201          logcat    1.0  482669  8194.0  8194.0        root   \n",
1536       "338.093210  hwservicemanag    3.0  482671   825.0   825.0        root   \n",
1537       "338.093210          <idle>    1.0  482672     0.0    -1.0         NaN   \n",
1538       "338.093223  logd.reader.pe    2.0  482673  9688.0   827.0  background   \n",
1539       "338.093226          logcat    1.0  482674  9685.0  9685.0        root   \n",
1540       "338.093246          <idle>    1.0  482679     0.0    -1.0         NaN   \n",
1541       "338.093270  logd.reader.pe    3.0  482680  5681.0   827.0  background   \n",
1542       "338.093277          logcat    1.0  482681  5679.0  5679.0        root   \n",
1543       "338.096261          <idle>    1.0  482702     0.0    -1.0         NaN   \n",
1544       "\n",
1545       "                  next_comm next_cpuset  next_pid  next_prio  \\\n",
1546       "Time                                                           \n",
1547       "317.500003    Binder:1141_1  foreground    1152.0      120.0   \n",
1548       "317.500011    Binder:1141_3  foreground    1953.0      120.0   \n",
1549       "317.500040    Binder:1141_2  foreground    1153.0      120.0   \n",
1550       "317.500088      lowpool[12]        root    7897.0      130.0   \n",
1551       "317.500099        FlpThread        root    3032.0      120.0   \n",
1552       "317.500112             lmkd        root    1021.0       98.0   \n",
1553       "317.500117        swapper/1         NaN       0.0      120.0   \n",
1554       "317.500194    Binder:1141_3  foreground    1953.0      120.0   \n",
1555       "317.500206    Binder:1141_7  foreground    2568.0      118.0   \n",
1556       "317.500234    Binder:1141_C  foreground    2649.0      120.0   \n",
1557       "317.500254        FlpThread        root    3032.0      120.0   \n",
1558       "317.500302        swapper/0         NaN       0.0      120.0   \n",
1559       "317.500317      lowpool[17]        root    9476.0      130.0   \n",
1560       "317.500326    Binder:1141_7  foreground    2568.0      120.0   \n",
1561       "317.500393      logd.writer  background     835.0      130.0   \n",
1562       "317.500394  PowerManagerSer  foreground    1478.0      116.0   \n",
1563       "317.500411        swapper/0         NaN       0.0      120.0   \n",
1564       "317.500420    Binder:1141_1  foreground    1152.0      120.0   \n",
1565       "317.500453        swapper/1         NaN       0.0      120.0   \n",
1566       "317.500487   CMEventHandler        root    7897.0      130.0   \n",
1567       "317.500496  logd.reader.per  background    5681.0      130.0   \n",
1568       "317.500507  logd.reader.per  background    8196.0      130.0   \n",
1569       "317.500513        swapper/0         NaN       0.0      120.0   \n",
1570       "317.500515        swapper/6         NaN       0.0      120.0   \n",
1571       "317.500517        swapper/1         NaN       0.0      120.0   \n",
1572       "317.500520  logd.reader.per  background    5681.0      130.0   \n",
1573       "317.500531    Binder:1141_2  foreground    1153.0      120.0   \n",
1574       "317.500535  logd.reader.per  background    8196.0      130.0   \n",
1575       "317.500569    Binder:1141_7  foreground    2568.0      120.0   \n",
1576       "317.500573           logcat        root    5679.0      120.0   \n",
1577       "...                     ...         ...       ...        ...   \n",
1578       "338.092909        swapper/4         NaN       0.0      120.0   \n",
1579       "338.092915  logd.reader.per  background    8196.0      130.0   \n",
1580       "338.092928        swapper/1         NaN       0.0      120.0   \n",
1581       "338.092937  logd.reader.per  background    8196.0      130.0   \n",
1582       "338.092990           logcat        root    8194.0      120.0   \n",
1583       "338.093017  logd.reader.per  background    8196.0      130.0   \n",
1584       "338.093040           logcat        root    8194.0      120.0   \n",
1585       "338.093054  logd.reader.per  background    8196.0      130.0   \n",
1586       "338.093061  logd.reader.per  background    9688.0      130.0   \n",
1587       "338.093069        swapper/1         NaN       0.0      120.0   \n",
1588       "338.093087           logcat        root    9685.0      120.0   \n",
1589       "338.093098      logd.writer  background     835.0      130.0   \n",
1590       "338.093109        swapper/1         NaN       0.0      120.0   \n",
1591       "338.093134  logd.reader.per  background    8196.0      130.0   \n",
1592       "338.093143           atrace         NaN    9906.0      120.0   \n",
1593       "338.093143        swapper/1         NaN       0.0      120.0   \n",
1594       "338.093145          sugov:0        root     820.0       49.0   \n",
1595       "338.093151  logd.reader.per  background    8196.0      130.0   \n",
1596       "338.093179  hwservicemanage        root     825.0      120.0   \n",
1597       "338.093186           logcat        root    8194.0      120.0   \n",
1598       "338.093188  logd.reader.per  background    9688.0      130.0   \n",
1599       "338.093201        swapper/1         NaN       0.0      120.0   \n",
1600       "338.093210  logd.reader.per  background    5681.0      130.0   \n",
1601       "338.093210           logcat        root    9685.0      120.0   \n",
1602       "338.093223        swapper/2         NaN       0.0      120.0   \n",
1603       "338.093226        swapper/1         NaN       0.0      120.0   \n",
1604       "338.093246           logcat        root    5679.0      120.0   \n",
1605       "338.093270        swapper/3         NaN       0.0      120.0   \n",
1606       "338.093277        swapper/1         NaN       0.0      120.0   \n",
1607       "338.096261      logd.writer  background     835.0      130.0   \n",
1608       "\n",
1609       "               next_schedtune  prev_pid        prev_comm  prev_prio  \\\n",
1610       "Time                                                                  \n",
1611       "317.500003         foreground    7897.0      lowpool[12]      130.0   \n",
1612       "317.500011         foreground    2467.0  .gms.persistent      120.0   \n",
1613       "317.500040         foreground    5668.0       lowpool[9]      130.0   \n",
1614       "317.500088         foreground    1152.0    Binder:1141_1      120.0   \n",
1615       "317.500099         foreground    1953.0    Binder:1141_3      120.0   \n",
1616       "317.500112  system-background    2568.0    Binder:1141_7      118.0   \n",
1617       "317.500117                NaN    9475.0      lowpool[16]      130.0   \n",
1618       "317.500194         foreground    3032.0        FlpThread      120.0   \n",
1619       "317.500206         foreground    1021.0             lmkd       98.0   \n",
1620       "317.500234         foreground    7897.0   CMEventHandler      130.0   \n",
1621       "317.500254         foreground    1953.0    Binder:1141_3      120.0   \n",
1622       "317.500302                NaN    2568.0    Binder:1141_7      120.0   \n",
1623       "317.500317         foreground    3032.0        FlpThread      120.0   \n",
1624       "317.500326         foreground       0.0        swapper/0      120.0   \n",
1625       "317.500393  system-background    1153.0    Binder:1141_2      120.0   \n",
1626       "317.500394         foreground       0.0        swapper/1      120.0   \n",
1627       "317.500411                NaN    2568.0    Binder:1141_7      120.0   \n",
1628       "317.500420         foreground    2649.0    Binder:1141_C      120.0   \n",
1629       "317.500453                NaN    1478.0  PowerManagerSer      116.0   \n",
1630       "317.500487         foreground    1152.0    Binder:1141_1      120.0   \n",
1631       "317.500496  system-background       0.0        swapper/0      120.0   \n",
1632       "317.500507  system-background       0.0        swapper/1      120.0   \n",
1633       "317.500513                NaN    5681.0  logd.reader.per      130.0   \n",
1634       "317.500515                NaN    7897.0   CMEventHandler      130.0   \n",
1635       "317.500517                NaN    8196.0  logd.reader.per      130.0   \n",
1636       "317.500520  system-background       0.0        swapper/0      120.0   \n",
1637       "317.500531         foreground     835.0      logd.writer      130.0   \n",
1638       "317.500535  system-background       0.0        swapper/1      120.0   \n",
1639       "317.500569         foreground    5681.0  logd.reader.per      130.0   \n",
1640       "317.500573               root    8196.0  logd.reader.per      130.0   \n",
1641       "...                       ...       ...              ...        ...   \n",
1642       "338.092909                NaN    9906.0           atrace      120.0   \n",
1643       "338.092915  system-background    8194.0           logcat      120.0   \n",
1644       "338.092928                NaN    8196.0  logd.reader.per      130.0   \n",
1645       "338.092937  system-background       0.0        swapper/1      120.0   \n",
1646       "338.092990               root    8196.0  logd.reader.per      130.0   \n",
1647       "338.093017  system-background    8194.0           logcat      120.0   \n",
1648       "338.093040               root    8196.0  logd.reader.per      130.0   \n",
1649       "338.093054  system-background    8194.0           logcat      120.0   \n",
1650       "338.093061  system-background     835.0      logd.writer      130.0   \n",
1651       "338.093069                NaN    8196.0  logd.reader.per      130.0   \n",
1652       "338.093087               root       0.0        swapper/1      120.0   \n",
1653       "338.093098  system-background    9688.0  logd.reader.per      130.0   \n",
1654       "338.093109                NaN    9685.0           logcat      120.0   \n",
1655       "338.093134  system-background       0.0        swapper/1      120.0   \n",
1656       "338.093143                NaN       0.0        swapper/7      120.0   \n",
1657       "338.093143                NaN    8196.0  logd.reader.per      130.0   \n",
1658       "338.093145               root     825.0  hwservicemanage      120.0   \n",
1659       "338.093151  system-background       0.0        swapper/1      120.0   \n",
1660       "338.093179  system-background     820.0          sugov:0       49.0   \n",
1661       "338.093186               root    8196.0  logd.reader.per      130.0   \n",
1662       "338.093188  system-background     835.0      logd.writer      130.0   \n",
1663       "338.093201                NaN    8194.0           logcat      120.0   \n",
1664       "338.093210  system-background     825.0  hwservicemanage      120.0   \n",
1665       "338.093210               root       0.0        swapper/1      120.0   \n",
1666       "338.093223                NaN    9688.0  logd.reader.per      130.0   \n",
1667       "338.093226                NaN    9685.0           logcat      120.0   \n",
1668       "338.093246               root       0.0        swapper/1      120.0   \n",
1669       "338.093270                NaN    5681.0  logd.reader.per      130.0   \n",
1670       "338.093277                NaN    5679.0           logcat      120.0   \n",
1671       "338.096261  system-background       0.0        swapper/1      120.0   \n",
1672       "\n",
1673       "               prev_schedtune prev_state  \n",
1674       "Time                                      \n",
1675       "317.500003         foreground          R  \n",
1676       "317.500011         foreground          S  \n",
1677       "317.500040         foreground          S  \n",
1678       "317.500088         foreground          S  \n",
1679       "317.500099         foreground          S  \n",
1680       "317.500112         foreground         R+  \n",
1681       "317.500117         foreground          S  \n",
1682       "317.500194         foreground          S  \n",
1683       "317.500206  system-background          S  \n",
1684       "317.500234         foreground         R+  \n",
1685       "317.500254         foreground          S  \n",
1686       "317.500302         foreground          S  \n",
1687       "317.500317         foreground          S  \n",
1688       "317.500326                NaN          R  \n",
1689       "317.500393         foreground          S  \n",
1690       "317.500394                NaN          R  \n",
1691       "317.500411         foreground          S  \n",
1692       "317.500420         foreground          S  \n",
1693       "317.500453         foreground          S  \n",
1694       "317.500487         foreground          S  \n",
1695       "317.500496                NaN          R  \n",
1696       "317.500507                NaN          R  \n",
1697       "317.500513  system-background          S  \n",
1698       "317.500515         foreground          S  \n",
1699       "317.500517  system-background          S  \n",
1700       "317.500520                NaN          R  \n",
1701       "317.500531  system-background          S  \n",
1702       "317.500535                NaN          R  \n",
1703       "317.500569  system-background          S  \n",
1704       "317.500573  system-background          S  \n",
1705       "...                       ...        ...  \n",
1706       "338.092909                NaN          S  \n",
1707       "338.092915               root          S  \n",
1708       "338.092928  system-background          S  \n",
1709       "338.092937                NaN          R  \n",
1710       "338.092990  system-background          S  \n",
1711       "338.093017               root          S  \n",
1712       "338.093040  system-background          S  \n",
1713       "338.093054               root          S  \n",
1714       "338.093061  system-background          S  \n",
1715       "338.093069  system-background          S  \n",
1716       "338.093087                NaN          R  \n",
1717       "338.093098  system-background          S  \n",
1718       "338.093109               root          S  \n",
1719       "338.093134                NaN          R  \n",
1720       "338.093143                NaN          R  \n",
1721       "338.093143  system-background          S  \n",
1722       "338.093145  system-background         R+  \n",
1723       "338.093151                NaN          R  \n",
1724       "338.093179               root          S  \n",
1725       "338.093186  system-background          S  \n",
1726       "338.093188  system-background          S  \n",
1727       "338.093201               root          S  \n",
1728       "338.093210  system-background          S  \n",
1729       "338.093210                NaN          R  \n",
1730       "338.093223  system-background          S  \n",
1731       "338.093226               root          S  \n",
1732       "338.093246                NaN          R  \n",
1733       "338.093270  system-background          S  \n",
1734       "338.093277               root          S  \n",
1735       "338.096261                NaN          R  \n",
1736       "\n",
1737       "[106922 rows x 16 columns]"
1738      ]
1739     },
1740     "execution_count": 7,
1741     "metadata": {},
1742     "output_type": "execute_result"
1743    }
1744   ],
1745   "source": [
1746    "# df = ssdf.loc[ssdf.index > 317.5]\n",
1747    "\n",
1748    "df = tr.data_frame.sched_switch_cgroup()\n",
1749    "df.loc[df.index > 317.5]"
1750   ]
1751  },
1752  {
1753   "cell_type": "code",
1754   "execution_count": null,
1755   "metadata": {
1756    "collapsed": true
1757   },
1758   "outputs": [],
1759   "source": []
1760  }
1761 ],
1762 "metadata": {
1763  "kernelspec": {
1764   "display_name": "Python 2",
1765   "language": "python",
1766   "name": "python2"
1767  },
1768  "language_info": {
1769   "codemirror_mode": {
1770    "name": "ipython",
1771    "version": 2
1772   },
1773   "file_extension": ".py",
1774   "mimetype": "text/x-python",
1775   "name": "python",
1776   "nbconvert_exporter": "python",
1777   "pygments_lexer": "ipython2",
1778   "version": "2.7.13"
1779  }
1780 },
1781 "nbformat": 4,
1782 "nbformat_minor": 2
1783}
1784