Comments (1)
Oh, sorry! It seems that this problem only occurs when criterion
feature is enabled without flamegraph
. I will try to fix it right now! The problem locates at:
pub enum Output<'a> {
#[cfg(feature = "flamegraph")]
Flamegraph(Option<FlamegraphOptions<'a>>),
#[cfg(feature = "protobuf")]
Protobuf,
}
When flamegraph
is not enabled, the 'a
is an unused parameter. I don't know what's the best practice to fix this problem PhantomData
option for this enum is a little wired (or needs exhaustive_patterns
).
Maybe writing different enum
definitions for different conditions is the best choice, though ugly.
from pprof-rs.
Related Issues (20)
- Request for releasing v0.9.2 HOT 2
- Run build.rs failed when compile HOT 1
- missing thread name for main thread HOT 3
- examples profile_proto.rs Can't work HOT 3
- Compiling fails on FreeBSD HOT 5
- Make DWARF great again
- Profiler does not run properly on Linux HOT 1
- support for criterion 0.4 HOT 6
- Feature request: option for profiling wall-clock time.
- [Bug]Report is empty? HOT 3
- Sampling frequency cannot be guaranteed
- Add LRU cache for DWARF addr2line HOT 1
- Fork `backtrace-rs` and modify MAPPINGS_CACHE_SIZE to `10`
- My process exits soon after start cpu profiler HOT 1
- Crash On M1 Mac HOT 6
- Use another way to test malloc-free
- Add doc comment for ProfilerGuardBuilder::frequency
- pipe fd(s) opened in addr_validate::validate will not be closed for short-term threads
- Getting a seg fault with no error or line number HOT 2
- SIGBUS: access to undefined memory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pprof-rs.