diff options
author | Yi Kong <yikong@google.com> | 2024-01-17 00:35:37 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-01-17 00:35:37 +0000 |
commit | b258d2ee60222351b473a8420e59cbdc7910e255 (patch) | |
tree | 19f63eed9cde85f19601d1f486f28f07f52ed614 /profcollectd | |
parent | 4139d114a751ba89457a6bf8133e930ecd761a25 (diff) | |
parent | 32507a530f49c9d9d26cdd3fc149d46ba98d1848 (diff) | |
download | extras-b258d2ee60222351b473a8420e59cbdc7910e255.tar.gz |
Merge "Fix build with logging_trace_provider" into main
Diffstat (limited to 'profcollectd')
-rw-r--r-- | profcollectd/libprofcollectd/logging_trace_provider.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/profcollectd/libprofcollectd/logging_trace_provider.rs b/profcollectd/libprofcollectd/logging_trace_provider.rs index d9fd35e9..72e1c0d2 100644 --- a/profcollectd/libprofcollectd/logging_trace_provider.rs +++ b/profcollectd/libprofcollectd/logging_trace_provider.rs @@ -36,7 +36,7 @@ impl TraceProvider for LoggingTraceProvider { true } - fn trace(&self, trace_dir: &Path, tag: &str, sampling_period: &Duration, binary_filter: &str) { + fn trace(&self, trace_dir: &Path, tag: &str, sampling_period: &Duration, _binary_filter: &str) { let trace_file = trace_provider::get_path(trace_dir, tag, LOGGING_TRACEFILE_EXTENSION); log::info!( @@ -47,12 +47,12 @@ impl TraceProvider for LoggingTraceProvider { ); } - fn process(&self, _trace_dir: &Path, _profile_dir: &Path) -> Result<()> { + fn process(&self, _trace_dir: &Path, _profile_dir: &Path, _binary_filter: &str) -> Result<()> { log::info!("Process event triggered"); Ok(()) } - fn set_log_file(&self, filename: &Path) {} + fn set_log_file(&self, _filename: &Path) {} fn reset_log_file(&self) {} } |