summaryrefslogtreecommitdiff
path: root/profcollectd/libprofcollectd/trace_provider.rs
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2022-02-09 18:09:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-02-09 18:09:59 +0000
commitd9d70c8fb612d61f990f6ae5be2b2f29e07bcc71 (patch)
treea8d5e6a1d53af37eaf5f3b8c49a21a7de1daab72 /profcollectd/libprofcollectd/trace_provider.rs
parente3f9772919c1c6407f25300f17d0cf088a9201cc (diff)
parentf158a752cf96f9d710314731c6cdc407230a80f6 (diff)
downloadextras-android-s-qpr3-beta-1.tar.gz
Diffstat (limited to 'profcollectd/libprofcollectd/trace_provider.rs')
-rw-r--r--profcollectd/libprofcollectd/trace_provider.rs1
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<()>;
}