Commit 4890f73
fix: add capability check to perf daemon handler
The perf handler was missing an isCommandSupportedOnDevice check,
so it returned empty metrics instead of UNSUPPORTED_OPERATION for
platforms where perf is not supported (e.g. harmonyos).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent b8c3fbe commit 4890f73
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
0 commit comments