mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
912b70b741
This CL adds a new backend for the cros_tracing crate. This backend can be enabled by building crosvm with the trace_marker feature enabled. When the feature is not enabled, no extra overhead incurs as the default NOOP cros_tracing crate will be compiled in instead. BUG=b:259501910 TEST=compiled and ran crosvm with and without `--features trace_marker` Change-Id: Ia4b929b042712a458b7d54c0362d6fda90db9e9f Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4075413 Reviewed-by: Christian Blichmann <cblichmann@google.com> Auto-Submit: Morg <morg@chromium.org> Commit-Queue: Morg <morg@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
24 lines
525 B
TOML
24 lines
525 B
TOML
[package]
|
|
name = "swap"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
trace_marker = ["cros_tracing/trace_marker"]
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
base = { path = "../base" }
|
|
cros_tracing = { path = "../cros_tracing" }
|
|
data_model = "*"
|
|
libc = "*"
|
|
minijail = "*"
|
|
remain = "*"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_json = "*"
|
|
sync = { path = "../common/sync" } # provided by ebuild
|
|
tempfile = "*"
|
|
thiserror = "*"
|
|
userfaultfd = "0.5.0"
|
|
vm_memory = { path = "../vm_memory"}
|