commit | 23252e5a50bcce8e78080f1a0a47e5a85f350eec | [log] [tgz] |
---|---|---|
author | Nelly Vouzoukidou <nellyv@google.com> | Fri May 17 20:33:40 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri May 17 20:33:40 2019 +0000 |
tree | 2908ee65427c686d4dba6a2f13afb81e84578451 | |
parent | cbb0636c68bea70af13b90d990fa020779d36ae9 [diff] |
[trace] Allow launching apps from `trace record` in a nested environment. Test: NestedTestEnvironment.Test Spec.{DecodingErrors, DecodeEmpty, DecodeEnvironment} This helps benchmarks on memory usage, uniquely identify the tested component. For more context: To get the memory usage of a component we need to iterate throught the running processes (see TaskEnumerator in task-utils/walker.h), until we find the one with the expected name (e.g. `ledger.cmx` for ledger). Using the process handle we can then find its memory usage. However, if more than one process with that name is running, it is impossible to determine which is the right one. This CL solves this by creating a nested environment: now both the benchmark component and the tested one are under the same environment, named "trace_record_environment". Using this information, it will be possible to correctly identify the process that shares the same parent with the benchmarks. Change-Id: I2f3ef0baf769990d6498f0bd9a406ea052d2b0da
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.