diff options
author | Yan Wang <yawanng@google.com> | 2019-07-16 15:29:08 -0700 |
---|---|---|
committer | Yan Wang <yawanng@google.com> | 2019-07-17 15:47:54 -0700 |
commit | 315ae2d4c4396fa4f19f5a2be0d73afb9cfa7b31 (patch) | |
tree | 9709dd02de97377349c53eee645e100d58585e68 /startop/scripts/lib/cmd_utils.py | |
parent | ede8b187e99c9b68841d036d0045fee5bd1e1e82 (diff) |
Add support of trace duration for host python compiler.
The basic idea is add timestamp for MmFilemapAddToPageCache.
Treat the first receiving MmFilemapAddToPageCache timestamp as
the start time. The end time is the sum of start time and duration.
Any MmFilemapAddToPageCache after end time is filtered out.
Test: pytest trace2db_test.py
Bug: 137398235
Change-Id: Ib9c439f3ae0ca666eacb08492361217d89adec34
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions