diff options
author | Yabin Cui <yabinc@google.com> | 2022-02-09 18:09:59 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-02-09 18:09:59 +0000 |
commit | d9d70c8fb612d61f990f6ae5be2b2f29e07bcc71 (patch) | |
tree | a8d5e6a1d53af37eaf5f3b8c49a21a7de1daab72 /profcollectd/libprofcollectd/trace_provider.rs | |
parent | e3f9772919c1c6407f25300f17d0cf088a9201cc (diff) | |
parent | f158a752cf96f9d710314731c6cdc407230a80f6 (diff) | |
download | extras-android-s-qpr3-beta-1.tar.gz |
Merge "profcollectd: add interface to wait for ETM after boot."android-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-beta-3android-s-qpr3-beta-1android-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1
Diffstat (limited to 'profcollectd/libprofcollectd/trace_provider.rs')
-rw-r--r-- | profcollectd/libprofcollectd/trace_provider.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/profcollectd/libprofcollectd/trace_provider.rs b/profcollectd/libprofcollectd/trace_provider.rs index 98cd5ec4..13059199 100644 --- a/profcollectd/libprofcollectd/trace_provider.rs +++ b/profcollectd/libprofcollectd/trace_provider.rs @@ -29,6 +29,7 @@ use crate::logging_trace_provider::LoggingTraceProvider; pub trait TraceProvider { fn get_name(&self) -> &'static str; + fn is_ready(&self) -> bool; fn trace(&self, trace_dir: &Path, tag: &str, sampling_period: &Duration); fn process(&self, trace_dir: &Path, profile_dir: &Path, binary_filter: &str) -> Result<()>; } |