ADFA-4371: EOFException is reported for empty simpleperf reports#1420
Conversation
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughRelease Notes: ADFA-4371 - EOFException Fix for Empty Simpleperf ReportsBug Fix
New Features
Technical Changes
Dependencies Added
Risks & Best Practices Violations
WalkthroughThis PR adds a profiler feature with profileable-build wiring, a privileged Shizuku-backed profiling service, a new profiler UI and app entry points, a standalone flamegraph module, and local tooling/configuration updates. ChangesProfiler feature
Flamegraph component
Tooling updates
Sequence Diagram(s)sequenceDiagram
participant User
participant ProfilerAction
participant BuildViewModel
participant ProjectHandlerActivity
participant ProfilerFragment
participant ProfilerUserService
User->>ProfilerAction: Start profiler build
ProfilerAction->>BuildViewModel: runQuickBuild(..., gradleArgs)
BuildViewModel->>ProjectHandlerActivity: AwaitingInstall(launchProfilerAfterInstall)
ProjectHandlerActivity->>ProfilerFragment: Open profiler tab after install
ProfilerFragment->>ProfilerUserService: bind via Shizuku service connection
ProfilerUserService-->>ProfilerFragment: process list / heap dump / CPU profiling data
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 PMD (7.25.0)gradle-plugin/src/main/java/com/itsaky/androidide/gradle/ProfilerPlugin.ktNo java executable found in PATH Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
No description provided.