Feature request: This would be much more ergonomic if we had a procedural macro to insert guarded events on all function scopes, optionally also in loops or even on every scoped block. This could be an annotation macro like #[flame(loops)] and work on single functions or even whole modules (including submodules). Also perhaps allow a #[noflame] annotation to carve out un-instrumented code parts.
Feature request: This would be much more ergonomic if we had a procedural macro to insert guarded events on all function scopes, optionally also in loops or even on every scoped block. This could be an annotation macro like
#[flame(loops)]
and work on single functions or even whole modules (including submodules). Also perhaps allow a#[noflame]
annotation to carve out un-instrumented code parts.What do you think?