Allow running wallclock profiler even without tracer by jbachorik · Pull Request #10298 · DataDog/dd-trace-java
Fix the wallclock context filter logic to allow collecting wallclock profiles even with the tracer being disabled and not providing the tracing context.
Explicitly pass filter= to ddprof when context filtering is disabled. Due to ddprof quirk, omitting filter defaults to "0" (enabled), causing zero samples when tracing is off. Empty filter disables it properly. Added unit test to verify filter parameter in all scenarios. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or 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