pub fn observed() -> bool
Whether a caller has anything to record: the perf map or the code dump is on.