fix build warnings when tracing is disabled
Signed-off-by: fab <fab@pop-os.localdomain>
This commit is contained in:
parent
f8e5887f24
commit
e94234e9c8
4
build.rs
4
build.rs
@ -1,9 +1,13 @@
|
||||
#[cfg(feature = "tracing")]
|
||||
use std::env;
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
use lttng_ust_generate::{Provider, Generator, CTFType, CIntegerType};
|
||||
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
fn setup_tracepoints() {
|
||||
// the provider is called calendar
|
||||
|
Loading…
Reference in New Issue
Block a user