add linux sampler

This commit is contained in:
Gregory Terzian 2018-12-03 19:33:25 +08:00 committed by Josh Matthews
parent 0cb87cca13
commit 7bc29205ef
11 changed files with 263 additions and 9 deletions

View file

@ -11,7 +11,10 @@ extern crate log;
pub mod background_hang_monitor;
mod sampler;
#[cfg(any(target_os = "android", target_os = "linux"))]
#[cfg(all(
target_os = "linux",
not(any(target_arch = "arm", target_arch = "aarch64"))
))]
mod sampler_linux;
#[cfg(target_os = "macos")]
mod sampler_mac;