diff options
author | Delan Azabani <dazabani@igalia.com> | 2024-09-04 20:56:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 12:56:29 +0000 |
commit | c0ced7a524b1c487a0b38dcb1875f2fa7fe21097 (patch) | |
tree | b3c7bdeccbd7f5fa646f11f70ed627ad7414fba2 /ports/servoshell/egl/ohos/simpleservo.rs | |
parent | 891562be8e295d616776315e08f0ffb2bbc97c92 (diff) | |
download | servo-c0ced7a524b1c487a0b38dcb1875f2fa7fe21097.tar.gz servo-c0ced7a524b1c487a0b38dcb1875f2fa7fe21097.zip |
Make tracing available on all platforms, with or without perfetto (#33301)
* Make tracing available on all platforms
Signed-off-by: Delan Azabani <dazabani@igalia.com>
* Gate perfetto support behind its own feature
Signed-off-by: Delan Azabani <dazabani@igalia.com>
---------
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Diffstat (limited to 'ports/servoshell/egl/ohos/simpleservo.rs')
-rw-r--r-- | ports/servoshell/egl/ohos/simpleservo.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/servoshell/egl/ohos/simpleservo.rs b/ports/servoshell/egl/ohos/simpleservo.rs index e23415940a2..226a5c18fc7 100644 --- a/ports/servoshell/egl/ohos/simpleservo.rs +++ b/ports/servoshell/egl/ohos/simpleservo.rs @@ -40,6 +40,7 @@ pub fn init( callbacks: Box<dyn HostTrait>, ) -> Result<ServoGlue, &'static str> { info!("Entered simpleservo init function"); + crate::init_tracing(); resources::set(Box::new(ResourceReaderInstance::new())); gl.clear_color(1.0, 1.0, 1.0, 1.0); |