-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ moved write_thread_name_fallback into profiler, since it's platform agnostic
- Loading branch information
Showing
13 changed files
with
210 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
pub fn validate() -> bool { | ||
unimplemented!() | ||
use crate::validator::{Validator, ValidatorImpl}; | ||
|
||
impl ValidatorImpl for Validator { | ||
fn addr_validate(_: *const libc::c_void) -> bool { | ||
unimplemented!() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
use crate::error::Result; | ||
use crate::profiler::{Profiler, ProfilerImpl}; | ||
|
||
pub fn register() -> Result<()> { | ||
Ok(()) | ||
} | ||
pub fn unregister() -> Result<()> { | ||
Ok(()) | ||
impl ProfilerImpl for Profiler { | ||
fn register(&mut self) -> Result<()> { | ||
unimplemented!() | ||
} | ||
fn unregister(&mut self) -> Result<()> { | ||
unimplemented!() | ||
} | ||
} |
Oops, something went wrong.